sanjashish Posted July 28, 2009 Report Share Posted July 28, 2009 Hi , I want to suppress Y axis in my chart as instead of that i want to use one static image with intervals. Do we have an option for inserting image for Y axis in chartfx 6.5,if not then is there any way to suppress Yaxis.I have used , axis.setStyle(AxisStyle. HIDE); to suppress it but it is suppessing my grid lines as well. I want to keep x and y axis grid but i want to remove y axis line. Please help me in this regard as i am newbie for chartfx. Thanks in advance Quote Link to comment Share on other sites More sharing options...
AndreG Posted July 28, 2009 Report Share Posted July 28, 2009 Would setting the axis color to white be a solution for you? chart1.getAxisY().setGridlines(true);chart1.getAxisY().getLine().setColor(java.awt.Color.white);chart1.getAxisY().setTickMark(TickMark.NONE);chart1.setBackColor(java.awt.Color.white); Quote Link to comment Share on other sites More sharing options...
sanjashish Posted July 29, 2009 Author Report Share Posted July 29, 2009 Thanks . It worked. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.