gtcompscientist / KelloCharts

Kotlin Charts/graphs library for Android compatible with API 21+, several chart types with support for scaling, scrolling and animations
Apache License 2.0
50 stars 6 forks source link

ComboLineColumnChart renders bars, not columns #14

Open eschercode opened 3 years ago

eschercode commented 3 years ago

Seems to be an axis problem with the ComboLineColumnChart as it shows nonsensical horizontal bars (in both my testing, and in the official demo app) instead of colums. May be a wider issue, as for example the screenshot of the "horizontal" bar chart has vertical bars instead of horizontal. Also, this Activity's title shouldn't be named column chart as columns are by definition vertical.

eschercode commented 3 years ago

I now realize, after comparison of the ColumnChart and ComboLineColumChart samples that the isHorizontal argument is missing: ColumnChartData(columns, isHorizontal = false).