Average Line in Line Chart/Run Chart

Hi!

Is there a way to add a horizontal broken average line in the run/line chart? 

Attached in the photo is a mock up design.

If there is can you give a sample js file for that. 


Thank you!


Attachment: Run_Chart_Line_2912cb88.rar

1 Reply

NP Nishanthi Panner Selvam Syncfusion Team June 2, 2023 09:04 AM UTC

Hi Trisha,


Greetings from Syncfusion.


We have analyzed your query, we suggest you to use stripLines to meet your requirement.


We have attached sample, code-snippet and screenshot for your reference.


stripLines: [

                {

                    start: 1500, size: 3, sizeType: 'Pixel', dashArray: "10,5", visible: true,

                    color: 'lightBlue',

                }

]



Sample: https://stackblitz.com/edit/mjkmvh?file=index.ts



Please revert us if you have any concerns.


Regards,

Nishanthi



Loader.
Up arrow icon