smartline in category axis

Hi,

Can I use stripline in chart with category axis?

I can't see examples in documentation

Thanks

1 Reply 1 reply marked as answer

DG Durga Gopalakrishnan Syncfusion Team October 27, 2020 08:25 AM UTC

Hi Manolo, 

Yes, you can use striplines in category axis. To specify start and end for category axis stripline, you need to specify index values. We have prepared sample for your reference. We also have an online demo for stripline with category axis.  

public primaryXAxis: Object = { 
    stripLines: [ 
      { 
        start: -1, 
        end: 1, 
        text: "Stripline 1", 
        color: "lightgreen", 
        rotation: -90, 
        visible: true 
      }, 
   ] 
} 


UG 

Online Demo 

Kindly revert us, if you have any concerns. 

Regards, 
Durga G 


Marked as answer
Loader.
Up arrow icon