problem with LineChart gridlines

"Amruthraj B (RBIN/EDM2) *" <[email protected]> Mon, 7 Mar 2005 11:34:08 +0530
Newsgroups gmane.comp.krysalis.jcharts.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.

------_=_NextPart_001_01C522DB.79B2E64B
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

hi guys!
=20
i am facing a problem with line chart's gridlines.
=20
i need to have 2 lines on the grid highlighted by Red and Blue colors.
=20
i have an AxisGridLineRenderer added to RenderEventListener of Y
axisProperties.
and values of red and blue lines have been added to the
AxisGridLineRenderer with appropriate ChartStrokes.
=20
But if the data on Y-axis increases, the number of grid lines also
increase and the graph looks awful.
i want only 2 grid lines(for Red and Blue) to appear.
=20
how can i achieve that.
=20
pls let me know.
=20
thanks in advance,
amruth

------_=_NextPart_001_01C522DB.79B2E64B
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Mine Stationery</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1480" name=3DGENERATOR></HEAD>
<BODY background=3D"">
<DIV><FONT face=3DArial size=3D2><SPAN class=3D993115005-07032005>hi=20
guys!</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D993115005-07032005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D993115005-07032005>i am =
facing&nbsp;a=20
problem with line chart'</SPAN></FONT><FONT face=3DArial size=3D2><SPAN=20
class=3D993115005-07032005>s gridlines.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D993115005-07032005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D993115005-07032005>i need =
to have 2=20
lines on the grid highlighted by Red and Blue =
colors.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D993115005-07032005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D993115005-07032005>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D993115005-07032005>i have =
an=20
AxisGridLineRenderer added&nbsp;to RenderEventListener of Y=20
axisProperties.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D993115005-07032005>and =
values of red=20
and blue lines have been added to the AxisGridLineRenderer with =
appropriate=20
ChartStrokes.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D993115005-07032005></SPAN></FONT>&nbsp;</DIV></SPAN></FONT></DIV>=

<DIV><FONT face=3DArial size=3D2><SPAN class=3D993115005-07032005>But if =
the data on=20
Y-axis increases, the number of grid lines also increase and the graph =
looks=20
awful.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D993115005-07032005>i want =
only 2 grid=20
lines(for&nbsp;Red and Blue)&nbsp;to appear.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D993115005-07032005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D993115005-07032005>how =
can i achieve=20
that.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D993115005-07032005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D993115005-07032005>pls =
let me=20
know.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D993115005-07032005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D993115005-07032005>thanks =
in=20
advance,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D993115005-07032005>amruth</SPAN></FONT></DIV></BODY></HTML>

------_=_NextPart_001_01C522DB.79B2E64B--


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click