TCustomBarSeries.GradientRelative
TCustomBarSeries
property GradientRelative: Boolean;
Unit
Series
Description
The CustomBarSeries class is an abstract class used as the ancestor of BarSeries and HorizBarSeries classes.
Set the ParentChart property to the desired Chart class.
To add points to the Series you should use the BarSeries.AddBar or HorizBarSeries.AddBar methods.
Right-click the class at design-time to access the DataSource Wizard Dialog to connect the Series to another Series or to any Table or Query class.
CustomBarSeries provides several methods and read-only properties shared by both BarSeries and HorizBarSeries:
The NormalBarColor,DarkColor and DarkerColor read-only properties return the colors used to fill bar sides and top covers. The CalcBarColors method calculates the above color properties for each bar point.
The DrawBar method is used to display each bar point.
The BarRectangle, BarPolygon and BarEllipse methods can be used to custom draw bar shapes.
The GetBarStyle function returns the corresponding BarStyle for a given bar point.
The BarMargin function returns the amount in pixels used to leave margins from Chart edges.
Please refer to Series ancestor description for all common Series properties like Marks, Axis dependence and events.