ComposeCharts icon indicating copy to clipboard operation
ComposeCharts copied to clipboard

Dot not displayed when there’s only one data point in the line chart

Open dennisacayo opened this issue 6 months ago • 1 comments

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!

dennisacayo avatar Jun 14 '25 08:06 dennisacayo

Hi dear @dennisacayo , thank you for your suggestion, i aggree with you. I will fix that.

ehsannarmani avatar Jun 14 '25 09:06 ehsannarmani