B4J Question xChartLite fail at line 1748

Peter Meares

Member
Licensed User
Longtime User
I was starting to use xChartLite. Brilliant library, thanks Klaus.
I invoked an error from the library on line 1748. Not sure if you would want put a catch in place.
Entirely my own fault but after some debugging I found that the xCustomview I copied across was for a BAR chart, and I was filling it with line data.
It flagged "Bar width = too small !!! Drawing of Bar chart skipped" and then failed on line 1748 when it was trying to use bitmapcreator with empty arrays.
Easily fixed by changing the view to a "LINE" chart.
 
Top