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
When adding multiple datasets to a candlestick chart if one of these is empty the renderer crashes looking for data into the empty dataset. I've patched my version with this check into 'CandleStickChartRenderer.swift' around line 48:
if (set.isVisible && (set.entryCount != 0))
substitutes
if (set.isVisible)
also (I haven't checked because I have labels disabled in my use case)
around line 200:
if (!dataSet.isDrawValuesEnabled || (dataSet.entryCount == 0))
substitutes
if (!dataSet.isDrawValuesEnabled)
I am using candlestick inside a combinedchart but I guess the bug appears by itself in the renderer even when the candlstickchart is used alone (not tested though)
The text was updated successfully, but these errors were encountered:
When adding multiple datasets to a candlestick chart if one of these is empty the renderer crashes looking for data into the empty dataset. I've patched my version with this check into 'CandleStickChartRenderer.swift' around line 48:
if (set.isVisible && (set.entryCount != 0))
substitutes
if (set.isVisible)
also (I haven't checked because I have labels disabled in my use case)
around line 200:
if (!dataSet.isDrawValuesEnabled || (dataSet.entryCount == 0))
substitutes
if (!dataSet.isDrawValuesEnabled)
I am using candlestick inside a combinedchart but I guess the bug appears by itself in the renderer even when the candlstickchart is used alone (not tested though)
The text was updated successfully, but these errors were encountered: