You must be logged in to post your query.
Home › Forums › Chart Support › Points in X-axis
we used x-axis for years. we need to show months between years. by default it is taking 10 points between the years. but we want 12 points between the years. for example when show 6.11 in the chart between 6 th and 7th year it should show on 6.11 but its showing on 6.1. i want to know that how we can over come this problem.
Crosshair label is showing 7.1 due to it’s valueFormatString (which might be #,###.# or #,###.0). Changing valueFormatString to “#,###.00” should work fine in your case.
In order to help us in understanding the issue, please have a reproducible demo of your chart.
This one step can assure you a speedy response. Fork out our template JSFiddle and reproduce the chart at your end. Try to keep it to the bare minimum by removing unnecessary code.
From what we have observed, sometimes things get delayed mostly when we are not able to reproduce the issue or not able to understand the exact requirements or the solution that we provide may not work properly due to the variation in chart-options being used by you and us.
Having a JSFiddle helps us in figuring out the issue and many a times we can just edit your code on JSFiddle to fix the issue right-away.
check it sir
Please take a look at this updated JSFiddle.
sir the problem is iam getting 7.1 and 7.11 at same point. we need 7.11 near to 8 . but its considering 7.1 & 7.11 as the same value.
we want like below example: (7,7.1,7.,7.3,7.4,7.5,7.6,7.7,7.8,7.9,7.10,7.11,7.12,8,8.1 )
Sorry it’s not possible to have 12 divisions (7.1, 7.2, 7.3… 7.11) between 2integers (7 & 8) as axis scale between two integers are divided into 10 fractions (7.1, 7.2, 7.3,… 7.9).
The JSFiddle that you have shared doesn’t have the data 7.1, 7.11, etc which you are referring. Kindly share JSFiddle along with sample data and brief us according to the sample data so that we can understand it better and help you with the possible solution.
You must be logged in to reply to this topic. Login/Register