1

I am looking for a charting library which can do a line graph, like this: enter image description here

But allows different colors between Points, for example: between T1 and E2 i need Red, but between E2 and E3 i need the line to be blue, like this:

enter image description here

So far i only found librarys which can set the color for the whole line, but not individual parts of it.

Can someone recommend a library that can change the line color mid-graph?

1
  • 1
    To display on what -Win Form, web etc?
    – d219
    Aug 22, 2020 at 6:37

2 Answers 2

0

Essential Chart for Windows Forms supports customizing line segment color.

Sample

Note that Essential Studio is required to be installed for the sample to compile.

Essential Chart with different colors for segments in line chart

The entire product is available for free through the community license if you qualify (less than 1 million USD in revenue).

Note: I work for Syncfusion.

0

Infragistics for WPF controls can do that in a few lines of xaml. Blinded jnto an observable collection.

Use mvvm pattern when doing wpf with C#

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.