Frequently Asked Component Specific Questions
Options |
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>
TMS VCL Chart
Changing different bar chart types to cylinder shape or pyramid shape
Changing different bar chart types to cylinder shape or pyramid shape
When adding new bar type charts the shape of the bar is bsRectangle by default. When changing the BarShape property on Series level the shape of the bar can be a Rectangle, Cylinder or a Pyramid.
Below is a sample that demonstrates the different shapes with one line of code for each series.
AdvGDIPChartView1.Panes[0].Series[0].BarShape := bsRectangle; AdvGDIPChartView1.Panes[0].Series[1].BarShape := bsRectangle; AdvGDIPChartView1.Panes[0].Series[2].BarShape := bsRectangle;
AdvGDIPChartView1.Panes[0].Series[0].BarShape := bsCylinder; AdvGDIPChartView1.Panes[0].Series[1].BarShape := bsCylinder; AdvGDIPChartView1.Panes[0].Series[2].BarShape := bsCylinder;
AdvGDIPChartView1.Panes[0].Series[0].BarShape := bsPyramid; AdvGDIPChartView1.Panes[0].Series[1].BarShape := bsPyramid; AdvGDIPChartView1.Panes[0].Series[2].BarShape := bsPyramid;