GetBarPaintWidth()
<< Click to Display Table of Contents >> GetBarPaintWidth() |
Returns the width of the bars in the primary Bars object on the chart, in pixels.
A double representing the pixel width of bars on the chart
chartBars |
A ChartBars object to measure |
protected override void OnRender(ChartControl chartControl, ChartScale chartScale) |
In the image below, GetBarPaintWidth() reveals that the bars are being drawn 27 pixels wide on the chart: