Implements StackedBarChart control.
You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.
class CStackedBarChart :public virtual IStackedBarChart, public CCustomCartesianChart
{
public:
enum POINT_STATE // Point states
{
psNormal, // Normal
psActive // Mouse pointer is over the point
};
public:
CStackedBarChart();
CStackedBarChart(IForm *parent);
CStackedBarChart(IControl *parent);
bool isVertical() const; // Return whether in vertical mode
float getBarSize() const; // Return bar size
const std::vector<Color> &getNormalBackgroundColors() const; // Return normal background colors
const std::vector<Color> &getActiveBackgroundColors() const; // Return active background colors
bool setVertical(const bool value); // Set whether in vertical mode
bool setBarSize(const float value); // Set bar size
bool setNormalBackgroundColors(const std::vector<Color> &values); // Set normal background colors
bool setActiveBackgroundColors(const std::vector<Color> &values); // Set active background colors
};
Namespace: | nitisa::charts |
Include: | Charts/Controls/StackedBarChart/StackedBarChart.h |