Implements MultiBarChart control.
You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.
class CMultiBarChart :public virtual IMultiBarChart, public CCustomCartesianChart
{
public:
enum POINT_STATE // Point states
{
psNormal, // Normal
psActive // Mouse pointer is over the point
};
public:
// IControl setters
bool setDPI(const Point &value) override;
CMultiBarChart();
CMultiBarChart(IForm *parent);
CMultiBarChart(IControl *parent);
bool isVertical() const; // Return whether drawing should be vertical
float getContentSize() const; // Return content size(0..1)
float getBarDistance() const; // Return distance between bars relative to bar size(0..1)
const std::vector<bool> &getDrawNormalBorders() const; // Return whether normal bar borders should be drawn
const std::vector<bool> &getDrawActiveBorders() const; // Return whether active bar borders should be drawn
const std::vector<bool> &getDrawNormalBackgrounds() const; // Return whether normal bar backgrounds should be drawn
const std::vector<bool> &getDrawActiveBackgrounds() const; // Return whether active bar backgrounds should be drawn
const std::vector<float> &getNormalBorderWidthes() const; // Return normal bar border widthes
const std::vector<float> &getActiveBorderWidthes() const; // Return active bar border widthes
const std::vector<Color> &getNormalBorderColors() const; // Return normal bar border colors
const std::vector<Color> &getActiveBorderColors() const; // Return active bar border colors
const std::vector<Color> &getNormalBackgroundColors() const; // Return normal bar background colors
const std::vector<Color> &getActiveBackgroundColors() const; // Return active bar background colors
bool setVertical(const bool value); // Set whether drawing should be vertical
bool setContentSize(const float value); // Set content size(0..1)
bool setBarDistance(const float value); // Set distance between bars relative to bar size(0..1)
bool setDrawNormalBorders(const std::vector<bool> &values); // Set whether normal bar borders should be drawn
bool setDrawActiveBorders(const std::vector<bool> &values); // Set whether active bar borders should be drawn
bool setDrawNormalBackgrounds(const std::vector<bool> &values); // Set whether normal bar backgrounds should be drawn
bool setDrawActiveBackgrounds(const std::vector<bool> &values); // Set whether active bar backgrounds should be drawn
bool setNormalBorderWidthes(const std::vector<float> &values); // Set normal bar border widthes
bool setActiveBorderWidthes(const std::vector<float> &values); // Set active bar border widthes
bool setNormalBorderColors(const std::vector<Color> &values); // Set normal bar border colors
bool setActiveBorderColors(const std::vector<Color> &values); // Set active bar border colors
bool setNormalBackgroundColors(const std::vector<Color> &values); // Set normal bar background colors
bool setActiveBackgroundColors(const std::vector<Color> &values); // Set active bar background colors
};
Namespace: | nitisa::charts |
Include: | Charts/Controls/MultiBarChart/MultiBarChart.h |