Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
How do I style a chart line (dashed, dash-dot, etc.)?
posted

I need to style the lines on a multi-series line chart so that they are distinguishable when printed in black and white or when viewed by people with color deficient vision. Unfortunately, my searches using various terms have not turned up how to do that. Any suggestions?

Parents
No Data
Reply
  • 7305
    Suggested Answer
    posted

    Hello,

    You can style the line to be dashed line, but it will be on chart level not series level, meaning the style will apply to all series line objects. Here is an example of the style:

     

     

    <

     

    Style TargetType="Line">

     

     

     

    <Setter Property="StrokeDashArray" Value="5"/>

     

     

     

    </Style>

    Sam

Children
No Data