ComposeCharts
ComposeCharts copied to clipboard
Dot not displayed when there’s only one data point in the line chart
Hi, first of all thank you for this great library!
I’ve encountered an issue where no point is drawn when a line has only one data value. This makes the chart appear empty in cases where there’s a single entry, even if dotProperties.enabled = true.
Expected behavior: • When a line contains only one value, a visible dot should still be rendered to represent that single point, even if no line can be drawn.
Current behavior: • Nothing is shown at all — no line, no dot.
Suggested fix: • Add support to render the dot even when the data list contains only one value.
Thanks in advance!
Hi dear @dennisacayo , thank you for your suggestion, i aggree with you. I will fix that.