[Bug]: LineChart does not allow showing multiple dots
Charting Control
LineChart
Package version
5.19.19
React version
18.2.0
Environment
We need to show multiple dots with red color for anomalies in a line chart. Currently, line chart does not allow that. This is a must have feature for us for Private Preview in July and this needs to fixed by June. Otherwise, we might need to switch another charting library which supports this.
Current Behavior
LineChart only shows a single dot in a line chart.
Expected Behavior
We want to show multiple dot in a line chart for showing anomalies in input data points. Screen
shot attached.
Reproduction
https://codepen.io/abhranilnaha/pen/wBBBdLL
Steps to reproduce
Try adding another data point under "Anomaly" and it shows a line. The expectation is to show multiple dots in the line chart.
Are you reporting an Accessibility issue?
None
Suggested severity
Urgent - No workaround and Products/sites are affected
Products/sites affected
Fabric Real-Time Intelligence
Are you willing to submit a PR to fix?
yes
Validations
- [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [x] The provided reproduction is a minimal reproducible example of the bug.
This issue is resolved now in version 5.23.92. To render dots instead of line you can set the mode property to markers in ILineChartLineOptions for the concerned series.
You can also set the legendShape to circle to get circular legends.
Fixed in #34505