CMultiBarChart



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 class PointState // Point states 
    {
        Normal, // Normal 
        Active // 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 BoolArray &getDrawNormalBorders() const; // Return whether normal bar borders should be drawn 
    const BoolArray &getDrawActiveBorders() const; // Return whether active bar borders should be drawn 
    const BoolArray &getDrawNormalBackgrounds() const; // Return whether normal bar backgrounds should be drawn 
    const BoolArray &getDrawActiveBackgrounds() const; // Return whether active bar backgrounds should be drawn 
    const FloatArray &getNormalBorderWidthes() const; // Return normal bar border widthes 
    const FloatArray &getActiveBorderWidthes() const; // Return active bar border widthes 
    const ColorArray &getNormalBorderColors() const; // Return normal bar border colors 
    const ColorArray &getActiveBorderColors() const; // Return active bar border colors 
    const ColorArray &getNormalBackgroundColors() const; // Return normal bar background colors 
    const ColorArray &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 BoolArray &values); // Set whether normal bar borders should be drawn 
    bool setDrawActiveBorders(const BoolArray &values); // Set whether active bar borders should be drawn 
    bool setDrawNormalBackgrounds(const BoolArray &values); // Set whether normal bar backgrounds should be drawn 
    bool setDrawActiveBackgrounds(const BoolArray &values); // Set whether active bar backgrounds should be drawn 
    bool setNormalBorderWidthes(const FloatArray &values); // Set normal bar border widthes 
    bool setActiveBorderWidthes(const FloatArray &values); // Set active bar border widthes 
    bool setNormalBorderColors(const ColorArray &values); // Set normal bar border colors 
    bool setActiveBorderColors(const ColorArray &values); // Set active bar border colors 
    bool setNormalBackgroundColors(const ColorArray &values); // Set normal bar background colors 
    bool setActiveBackgroundColors(const ColorArray &values); // Set active bar background colors 
};
Namespace: nitisa::charts
Include: Charts/Controls/MultiBarChart/MultiBarChart.h