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:
This happens only with cubic line charts. Regular line charts are rendered like this:
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: