You must be logged in to post your query.
Home › Forums › Chart Support › Irrelevant Data on X-Axis
Tagged: stacked column irrelevant data
Hi, I want to discuss the extra or irrelevant data that i am facing on x-axis. I have created a fiddle for this issue where i can see the extra years from 2006-2009. When there is no data on these years then these years should not come in the view. I have tried to remove the interval on axisX but still these years come. I have taken your example for this issue. Please have a look into it.
Thanks.
http://jsfiddle.net/jvm3bf2d/3/
@sufyan-cs10,
You can use Axis / Scale Breaks to shrink and remove the unnecessary regions.
Please take a look at updated JSFiddle.
— Vishwas R Team CanvasJS
Why is there a break between 2005-2010? Can we remove that to show it as a plain record?
Scale Breaks are used to shrink the axis-range in order to remove unnecessary regions.
You can minimize the space occupied by the break using spacing and remove the scale-break line by setting lineThickness to 0. Please take a look at this updated jsfiddle.
Great (Y) Problem solved.
Thanks @Vishwas R.
You must be logged in to reply to this topic. Login/Register