Gets or Sets the DataPoint color which is used to indicate a increasing price or trend. When the Close value is greater than the Open value, then the price is considered as increasing.
Type: Brush
Namespace: Visifire.Charts
Assembly:
|
Silverlight: |
SLVisifire.Charts (in SLVisifire.Charts.dll) |
|
WPF: |
WPFVisifire.Charts (in WPFVisifire.Charts.dll) |
This attribute applies to:
Syntax:
<vc:Chart ... >
<vc:Chart.Series>
<vc:DataSeries PriceUpColor="Green">
</vc:DataSeries>
</vc:Chart.Series>
</vc:Chart>
Below is the chart after setting PriceUpColor property.

Remarks:
This attribute is applicable only to CandleStick charts.
In a single series CandleStick chart, if PriceUpColor is not set in DataSeries then DataSeries will take the first Color from ColorSet named "CandleLight" as PriceUpColor.
In a multiseries CandleStick chart, if PriceUpColor is not set in any DataSeries then a unique Color will be taken for each series from ColorSet named "CandleLight" as PriceUpColor.
PriceUpColor can be overridden by setting Color property in DataPoint.
PriceUpColor property cannot be null if set from XAML.
See Also