cancel
Showing results for 
Search instead for 
Did you mean: 
DRay
Community Team Leader
Community Team Leader

When creating a line chart, a certain line might require a different style.

For example - A line that shows a threshold should be styled as a dotted line

The following widget & widget script can be used to customize your line chart:

widget.on('processresult', function(widget, result) {
let series = result.result.series;
series[1].dashStyle = 'Dot'
})

 Result:

Before After
DRay_0-1714660421072.png

 

DRay_1-1714660421057.png

 

Available line styles:

  • Solid
  • ShortDash
  • ShortDot
  • ShortDashDot
  • ShortDashDotDot
  • Dot
  • Dash
  • LongDash
  • DashDot
  • LongDashDot
  • LongDashDotDot'
DRay_2-1714660421329.png

Created from Line Chart - Customizing a line to various "Dotted" styles by @Ophir_Buchman 

 

Rate this article:
Version history
Last update:
‎05-02-2024 08:59 AM
Updated by:
Contributors