User (Legacy) Posted January 6, 2007 Author Report Posted January 6, 2007 Hi, I have a bubble chart that has the x&y axis running from ~-0.36 to +0.76. Even though I have axis.setGridLines(false); set the graph will still show a line running across the graph from 0.0 on both axis, even though there are no gridlines showing across the major tick marks. Any ideas on show to stop the 0.0 lines from showing? Could it be anything to do with setAxesStyle(Style.MATH);? Thanks, Alan Barrington-Hughes
User (Legacy) Posted January 6, 2007 Report Posted January 6, 2007 Hi, I have a bubble chart that has the x&y axis running from ~-0.36 to +0.76. Even though I have axis.setGridLines(false); set the graph will still show a line running across the graph from 0.0 on both axis, even though there are no gridlines showing across the major tick marks. Any ideas on show to stop the 0.0 lines from showing? Could it be anything to do with setAxesStyle(Style.MATH);? Thanks, Alan Barrington-Hughes
User (Legacy) Posted January 6, 2007 Author Report Posted January 6, 2007 Not the best example in the world, but you can see the erroneous gridline on the alan1.jpg attachment running on the x-axis. "Alan Barrington-Hughes" <alan_barrington-hughes@premierinc.com> wrote in message news:MCONgaaMHHA.3068@webserver3.softwarefx.com... > Hi, > > I have a bubble chart that has the x&y axis running from ~-0.36 to +0.76. > Even though I have axis.setGridLines(false); set the graph will still show > a > line running across the graph from 0.0 on both axis, even though there are > no gridlines showing across the major tick marks. > > Any ideas on show to stop the 0.0 lines from showing? Could it be anything > to do with setAxesStyle(Style.MATH);? > > Thanks, > > Alan Barrington-Hughes > >
User (Legacy) Posted January 6, 2007 Author Report Posted January 6, 2007 Not the best example in the world, but you can see the erroneous gridline on the alan1.jpg attachment running on the x-axis. "Alan Barrington-Hughes" <alan_barrington-hughes@premierinc.com> wrote in message news:MCONgaaMHHA.3068@webserver3.softwarefx.com... > Hi, > > I have a bubble chart that has the x&y axis running from ~-0.36 to +0.76. > Even though I have axis.setGridLines(false); set the graph will still show > a > line running across the graph from 0.0 on both axis, even though there are > no gridlines showing across the major tick marks. > > Any ideas on show to stop the 0.0 lines from showing? Could it be anything > to do with setAxesStyle(Style.MATH);? > > Thanks, > > Alan Barrington-Hughes > >
Software FX Posted January 10, 2007 Report Posted January 10, 2007 You can use the following to remove the zero lines for both axes: chart1.getAxisY().setStyle(chart1.getAxisY().getStyle()&~ AxisStyle.BREAK_ZERO); chart1.getAxisX().setStyle(chart1.getAxisX().getStyle()&~ AxisStyle.BREAK_ZERO); Hope this helps. Regards, TT SoftwareFX Support
Software FX Posted January 10, 2007 Report Posted January 10, 2007 You can use the following to remove the zero lines for both axes: chart1.getAxisY().setStyle(chart1.getAxisY().getStyle()&~ AxisStyle.BREAK_ZERO); chart1.getAxisX().setStyle(chart1.getAxisX().getStyle()&~ AxisStyle.BREAK_ZERO); Hope this helps. Regards, TT SoftwareFX Support
Recommended Posts
Archived
This topic is now archived and is closed to further replies.