You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…t x-index 0 (ChartsOrg#711)
Cubic line charts that don’t start at x-index 0 don’t fill correctly
because the fill starts at index 0 (Regular line charts don’t have that
issue). To correct this the index for the fill is taken from the data
entries (similar to regular line chart fill).
Ultimately i think the renderer should be refactored to use a common
code path for filling cubic and regular line charts.
If you set up your data entries for the cubic line chart so that they don't start at x-index 0, the fill is still drawn from x-index 0.
Set up data entries like this:
The chart will look like this:
![screen shot 2016-01-26 at 09 21 01](https://cloud.githubusercontent.com/assets/3897424/12575882/60d4f62c-c410-11e5-89b1-3a706e3df9d2.png)
This happens only with cubic line charts. Regular line charts are rendered like this:
![screen shot 2016-01-26 at 09 22 06](https://cloud.githubusercontent.com/assets/3897424/12575911/8796063e-c410-11e5-92dc-397e245870eb.png)
You can easily reproduce the bug by replacing the
setDataCount:range:
method inCubicLineChartViewController.m
in the demo with:The text was updated successfully, but these errors were encountered: