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
Need to add two colors ScatterLineSeries
posted

I need to add two colors ScatterLineSeries.

From 0-x1 : Color 1

From x1-end : Color2 

Any suggestions?

  • 34510
    Verified Answer
    Offline posted

    Hi Kinsly,

    A single ScatterLineSeries can only be set to one color so if you need to show two different colors you will need two different scatter series.  I recommend that you split your data into two lists, one that goes from 0-x1 and the other goes from x1-end.  Then you can have two ScatterLineSeries in the chart, one bound to the 0-x1 list and the other bound to x1-end list.  Then set their Brush properties to the desired color for each.