IPaletteProvider
Defines the interface to a PaletteProvider. By implementing this interface, you can override colors on a PaletteProvider by setting or binding to the BaseRenderableSeries property. On each point, the GetColor or OverrideColor methods will be called, allowing you the chance to return a custom color for that point.
Методы
GetColor(IRenderableSeries, double, double) : Color?
When called for an X,Y point, override the color on the attached BaseRenderableSeries. Return null to keep the default series color Return a value to override the series color
- series
- The source IRenderableSeries
- xValue
- The X-value of the data-point
- yValue
- The Y-value of the data-point
Возвращает: The overriden color. Return null to keep the default
OverrideColor(IRenderableSeries, double, double, double, double, double) : Color?
When called for an OHLC point, override the color on the attached BaseRenderableSeries. Return null to keep the default series color Return a value to override the series color
- series
- The source IRenderableSeries
- xValue
- The x value.
- openValue
- The open value.
- highValue
- The high value.
- lowValue
- The low value.
- closeValue
- The close value.
OverrideColor(IRenderableSeries, double, double, double) : Color?
When called for an bubble point, override the color on the attached FastBubbleRenderableSeries. Return null to keep the default series color Return a value to override the series color
- series
- The source IRenderableSeries
- xValue
- The x value.
- yValue
- The y value.
- zValue
- The z value.