Jump to content
Software FX Community

Bubble chart always showing grid lines...


User (Legacy)

Recommended Posts

Posted

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

post-2107-13922382370342_thumb.jpg

post-2107-13922386067073_thumb.jpg

Posted

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

Posted

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

>

>

Posted

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

>

>

Posted

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

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...