-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
LineChart ylabels #125
Comments
Are you using the latest version 0.5.6 ? |
Thank you for your fast response. Yes I am using the latest version 0.5.6 For everyone facing the same issue: I was setting the data for the chart "in a wrong way": lineChart.chartData = [];
for .... {
var lineData = PNLineChartData();
// build data object...
lineChart.chartData.append(lineData);
} In order to get rid of the issue, add your data like this: var data: [AnyObject] = [];
for .... {
var lineData = PNLineChartData();
// build data object...
data.append(lineData);
}
lineChart.chartData = data; For some reason, Thank you anyway, great library! |
Yes, this lib was not designed for updating data dynamically. |
Well, You need to dive into the source code. For the 2nd one |
Thank you for pointing out the correct lines in the source code to look at. I just modified it to my desires! Again, great library! |
I have an issue concerning the labels on the y-axis of the LineChart.
For some reason, I have weird numbers appearing below the actual labels of my LineChart.
See the image here: (0 - 7 are my actual numbers, the large numbers below are the ones I'm talking about)
Anyone know how to fix this?
The text was updated successfully, but these errors were encountered: