This is a migrated thread and some comments may be shown as answers.

Line chart with only markers

2 Answers 351 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jacky
Top achievements
Rank 1
Jacky asked on 14 Feb 2018, 10:13 PM

Is there a way to create a line chart with only markers?  Scatter chart only works with numeric x-axis, but I have a categoryAxis.  I tried setting line color to white and having the markers be a different color but then hover over turns the marker to white and the legend shows a white line for that series.

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimiter Topalov
Telerik team
answered on 16 Feb 2018, 01:12 PM
Hi Jacky,

You can set either the width or the opacity property of the series items to 0 (instead of setting white/transparent colors to the line and different ones for markers), e.g.:

https://plnkr.co/edit/BvQLuZRoZWUU2lrs7B7S?p=preview

I hope this helps

Regards,
Dimiter Topalov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Jacky
Top achievements
Rank 1
answered on 22 Feb 2018, 06:16 PM
Thank you!  That worked out great.
Tags
General Discussions
Asked by
Jacky
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Jacky
Top achievements
Rank 1
Share this question
or