Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 876 Bytes

TwoColorAreaSeries.rst

File metadata and controls

34 lines (21 loc) · 876 Bytes

TwoColorAreaSeries

Note

This section is under construction. Please contribute!

A TwoColorAreaSeries shows an area series where the area has different color of each side of a specified limit.

image

Tracker

The format string may use the following arguments:

  • {0} the title of the series
  • {1} the title of the x-axis
  • {2} the x-value
  • {3} the title of the y-axis
  • {4} the y-value
  • {PropertyX} the value of PropertyX in the item (extended format string syntax)

To show the x and y values with one digit, use the format string "{2:0.0},{4:0.0}".

The default format string for TwoColorAreaSeries is "{0}\n{1}: {2:0.###}\n{3}: {4:0.###}"

Example

csharp

var model = new PlotModel { Title = "TwoColorAreaSeries" };