Can you have dashed or dotted lines on a Cartesian Chart?

1 Answer 89 Views
Chart
Angus
Top achievements
Rank 1
Iron
Angus asked on 30 Sep 2022, 10:00 AM

Is it possible to customise the line style (eg. dashes, dots, combo)  in the Cartesian chart or can we just change the colour and thickness?

Thanks =)

Antoan
Telerik team
commented on 30 Sep 2022, 01:53 PM

Hello Angus,

Are you asking about the GridAnnotation, the Axis lines or the Line series? Could you elaborate on the scenario you desire to achieve so we have a better understandings of your needs. Screenshot or design sample could also be helpful.

For example you can customize the GridAnnotation to be dashes as in the image below:

Angus
Top achievements
Rank 1
Iron
commented on 03 Oct 2022, 05:27 AM

Hi Antoan, 

I mean for line series.

I need the series and the legend to be the same colour, but with different line styles as below

1 Answer, 1 is accepted

Sort by
0
Accepted
Antoan
Telerik team
answered on 06 Oct 2022, 09:41 AM

Hi Angus,

We have a solution for this request in the ticket with ID 1582254. In addition, we have logged a couple of feature requests on your behalf one for the dashed line series and one for the Legends customization. A sample code with the solution for dashed line series is included in the dashed line series feature request.

Let us know if you need any further assistance.

Regards,
Antoan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Angus
Top achievements
Rank 1
Iron
commented on 07 Oct 2022, 08:42 AM

Thank you! I will take a look at the sample in the feature request
Tags
Chart
Asked by
Angus
Top achievements
Rank 1
Iron
Answers by
Antoan
Telerik team
Share this question
or