CDoughnutChart



Implements DoughnutChart control.

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

class CDoughnutChart :public virtual IDoughnutChart, public CCustomRadialChart
{
public:
    // IControl setters 
    bool setDPI(const Point &value) override;

    CDoughnutChart();
    CDoughnutChart(IForm *parent);
    CDoughnutChart(IControl *parent);

    float getBorderWidth() const; // Return border width 
    float getQuality() const; // Return drawing quality(0..1) 
    float getCutout() const; // Return cutout(0..1) 
    bool isRestartColors() const; // Return whether colors should be restarted at each data 
    const ColorArray &getNormalColors() const; // Return normal colors 
    const ColorArray &getActiveColors() const; // Return active colors 
    const ColorArray &getNormalBorderColors() const; // Return normal border colors 
    const ColorArray &getActiveBorderColors() const; // Return active border colors 

    bool setBorderWidth(const float value); // Set border width 
    bool setQuality(const float value); // Set drawing quality(0..1) 
    bool setCutout(const float value); // Set cutout(0..1) 
    bool setRestartColors(const bool value); // Set whether colors should be restarted at each data 
    bool setNormalColors(const ColorArray &values); // Set normal colors 
    bool setActiveColors(const ColorArray &values); // Set active colors 
    bool setNormalBorderColors(const ColorArray &values); // Set normal border colors 
    bool setActiveBorderColors(const ColorArray &values); // Set active border colors 
};
Namespace: nitisa::charts
Include: Charts/Controls/DoughnutChart/DoughnutChart.h