Hi Justin,
We suggest you to use PointColorMapping property to
apply different colors for chart series data points. We have prepared sample
based on your requirement. Please check with the below snippet and screenshot.
<SfStockChart>
<StockChartSeriesCollection>
<StockChartSeries PointColorMapping="color" Type="ChartSeriesType.Column">
</StockChartSeries>
</StockChartSeriesCollection>
</SfStockChart>
@code{
List<ChartData> Data = new List<ChartData>
{
new ChartData { x = new DateTime(1950, 1,
12), high = 125, low = 70, open = 115, close = 90 , volume=10000, color = "red" },
//…
};
}
|
Sample : https://www.syncfusion.com/downloads/support/directtrac/general/ze/StkChartPointColor232345972.zip
Please revert us if you have any concerns.
Regards,
Durga Gopalakrishnan.