MENU
.net Powerful JavaScript charts

Is there a way to make a dashed line in RGraph?


Posted by Pedro at 15:11 on Tuesday 18th March 2025 [link]
Is there a way to make a dashed line in RGraph?

Posted by Richard at 16:20 on Tuesday 18th March 2025 [link]
Are you using the Line chart? If so then yes - there's an option for that which you can add into your configuration:

https://www.rgraph.net/canvas/line.html#property-name-dotted

There's also a dashed option for dashed lines.

With dotted lines, you may need to change the color of your line and darken it a bit.

[Replies are closed]