CBarChart



Implements BarChart control.

You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.

class CBarChart :public virtual IBarChart, public CCustomCartesianChart
{
public:
    // IControl setters 
    bool setDPI(const Point &value) override;

    CBarChart();
    CBarChart(IForm *parent);
    CBarChart(IControl *parent);
    ~CBarChart() override;

    bool isDrawBorder(const CBarChartRenderer::PointState state) const; // Return whether bar border should be drawn(depending on point state) 
    bool isDrawBackground(const CBarChartRenderer::PointState state) const; // Return whether bar background should be drawn(depending on point state) 
    float getBorderWidth(const CBarChartRenderer::PointState state) const; // Return bar border width depending on point state 
    Color getBorderColor(const CBarChartRenderer::PointState state) const; // Return bar border color depending on point state 
    Color getBackgroundColor(const CBarChartRenderer::PointState state) const; // Return bar background color depending on point state 
    bool isVertical() const; // Return whether in vertical mode 
    float getBarWidth() const; // Return bar width 

    bool setDrawBorder(const CBarChartRenderer::PointState state, const bool value); // Set whether bar border should be drawn(depending on point state) 
    bool setDrawBackground(const CBarChartRenderer::PointState state, const bool value); // Set whether bar background should be drawn(depending on point state) 
    bool setBorderWidth(const CBarChartRenderer::PointState state, const float value); // Set bar border width depending on point state 
    bool setBorderColor(const CBarChartRenderer::PointState state, const Color &value); // Set bar border color depending on point state 
    bool setBackgroundColor(const CBarChartRenderer::PointState state, const Color &value); // Set bar background color depending on point state 
    bool setVertical(const bool value); // Set whether in vertical mode 
    bool setBarWidth(const float value); // Set bar width 
};
Namespace: nitisa::charts
Include: Charts/Controls/BarChart/BarChart.h