OnRender()
<< Click to Display Table of Contents >> OnRender() |
An event driven method used to render content to a ChartStyle. The OnRender() method is called every time the chart values are updated. These updates are driven by incoming data to the chart bars or by a user manually interacting with the chart control or chart scale.
This method does not return a value.
protected override void OnRender(ChartControl chartControl, ChartScale chartScale, ChartBars chartBars)
{
}
chartControl |
A ChartControl representing the x-axis |
chartScale |
A ChartScale representing the y-axis |
chartBars |
A ChartBars representing the Bars series for the chart |
protected override void OnRender(ChartControl chartControl, ChartScale chartScale, ChartBars chartBars) { // Rendering logic for our chart style } |