-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Real number x axis line for BarChartView #901
Comments
So basically there is no way to do this, I have to insert some zero quantity data on the x axis. What about ChartLimitLine on the x axis at a real number's location rather than an index when using the bar graph. |
NSObject can be anything even a float value. Try using an NSNumber to achieve what you are looking for. But maybe I am misunderstanding your question. |
@petester42 seems he is talking about the float x axis style. e.g. price = [1, 2, 5] -> [1,2,3,4,5] |
Are there any updates on this? |
Do you support bar graphs with a real number x axis line. All I have found is support for "labeled/NSObject" bars, but I would like to be able to give a bar a double value and have it plotted on a real number line, same as y axis. In a similar vein, is there a way for me to plot a ChartLimitLine on the xaxis at a real number location rather than an index when using the bar graph.
If I want to plot price (X-Axis) and quantity (Y-Axis)
price = [1, 2, 5]
quantity = [1.0, 2.0, 5.0]
I am getting following graph
But I want something like this
I am using the correct Chart Type? I am using BarChartView.
The text was updated successfully, but these errors were encountered: