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 std::vector<Color> &getNormalColors() const; // Return normal colors
const std::vector<Color> &getActiveColors() const; // Return active colors
const std::vector<Color> &getNormalBorderColors() const; // Return normal border colors
const std::vector<Color> &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 std::vector<Color> &values); // Set normal colors
bool setActiveColors(const std::vector<Color> &values); // Set active colors
bool setNormalBorderColors(const std::vector<Color> &values); // Set normal border colors
bool setActiveBorderColors(const std::vector<Color> &values); // Set active border colors
};
Namespace: | nitisa::charts |
Include: | Charts/Controls/DoughnutChart/DoughnutChart.h |