Dashed StepLine

Hello I'm making a stepline chart. I want the line to be dashed.

Does anyone have any idea how to do this?

Thanks.


5 Replies

GA Ganesan Syncfusion Team November 25, 2011 05:31 PM UTC

Hi ,

You can achieve this requirement by overriding the template for the stepline series. We have also prepared a sample based on the scenario reported. Kindly dowmnload the sample from the following link.

<http://www.syncfusion.com/downloads/Support/DirectTrac/87109/Steplineseriescustomization-714718211.zip


Regards,
Ganesan






JA James November 30, 2011 02:43 PM UTC

Thanks, I manaaged to find the code in the sample. It works as expected.

I set the "Template" property of my ChartDataSeries to the PolyLine "DataTemplate":





It worked perfectly.




MP Michael Prabhu M Syncfusion Team December 1, 2011 12:03 PM UTC

Hi James,

Thanks for the update, Please let us know if you need further information.

Thanks,
Michael Prabhu



JK Jordan Krahn November 18, 2021 07:02 PM UTC

I'm trying to do the same thing, but the vertical connectors between each segment of the Step Line are not showing. Can that code sample be made public?



GM Gayathri Manickam Syncfusion Team November 22, 2021 12:29 PM UTC

Hi Jordan,  
 
We analyzed your query, and we will update you in the newly created incident in your direct trac account for dashed StepLine related queries. Kindly follow up the incident. 
 
Thanks,  
Gayathri M. 


Loader.
Up arrow icon