Implements RadarChart control.
You can find more information in comments below. Overrided methods can be found in corresponding base classes and interfaces.
class CRadarChart :public virtual IRadarChart, public CControl
{
public:
// IControl getters
RectF getClientRect() override;
// IControl setters
bool setDPI(const Point &value) override;
// IControl methods
void Refresh(const bool refresh_children) override;
// IRadialChart getters
IChartDataSet *getDataSet() override;
// IRadialChart setters
bool setDataSet(IChartDataSet *value, const bool release_old) override;
// IRadialChart methods
void Update() override;
// IRadarChart getters
bool isAutoRange() override;
float getRange() override;
// IRadarChart setters
bool setAutoRange(const bool value) override;
bool setRange(const float value) override;
CRadarChart();
CRadarChart(IForm *parent);
CRadarChart(IControl *parent);
~CRadarChart() override;
Color getBackgroundColor() const; // Return background color
Gradient *getBackgroundGradient(); // Return background gradient
bool isDrawGrid() const; // Return whether a grid should be drawn
bool isAutoGridStep() const; // Return whether grid step should be calculated automatically
float getGridStep() const; // Return grid step
float getDefaultGridStep() const; // Return default grid step(when scale is 1)
Color getGridColor() const; // Return grid color
bool isDrawLabels() const; // Return whether labels should be drawn
Color getLabelsColor() const; // Return labels color
int getLabelSigns() const; // Return count of signs after point in labels(0..9)
float getQuality() const; // Return quality(0..1)
RectF getPadding() const; // Return padding
float getPointSize() const; // Return point size
bool isDrawLegend() const; // Return whether legend should be drawn
Color getLegendColor() const; // Return legend color
const std::vector<Color> &getBackgroundColors() const; // Return background colors
const std::vector<float> &getLineWidthes() const; // Return line widthes
const std::vector<Color> &getLineColors() const; // Return line colors
const std::vector<float> &getNormalPointSizes() const; // Return normal point sizes
const std::vector<float> &getActivePointSizes() const; // Return active point sizes
const std::vector<float> &getNormalPointHoles() const; // Return normal point hole sizes
const std::vector<float> &getActivePointHoles() const; // Return active point hole sizes
const std::vector<Color> &getNormalPointColors() const; // Return normal point colors
const std::vector<Color> &getActivePointColors() const; // Return active point colors
const std::vector<Color> &getNormalHoleColors() const; // Return normal point hole colors
const std::vector<Color> &getActiveHoleColors() const; // Return active point hole colors
const std::vector<bool> &getDrawPoints() const; // Return whether points should be drawn
bool setBackgroundColor(const Color &value); // Set background color
bool setDrawGrid(const bool value); // Set whether a grid should be drawn
bool setAutoGridStep(const bool value); // Set whether grid step should be calculated automatically
bool setGridStep(const float value); // Set grid step
bool setDefaultGridStep(const float value); // Set default grid step(when scale is 1)
bool setGridColor(const Color &value); // Set grid color
bool setDrawLabels(const bool value); // Set whether labels should be drawn
bool setLabelsColor(const Color &value); // Set labels color
bool setLabelSigns(const int value); // Set count of signs after point in labels(0..9)
bool setQuality(const float value); // Set quality(0..1)
bool setPadding(const RectF &value); // Set padding
bool setPointSize(const float value); // Set point size
bool setDrawLegend(const bool value); // Set whether legend should be drawn
bool setLegendColor(const Color &value); // Set legend color
bool setBackgroundColors(const std::vector<Color> &values); // Set background colors
bool setLineWidthes(const std::vector<float> &values); // Set line widthes
bool setLineColors(const std::vector<Color> &values); // Set line colors
bool setNormalPointSizes(const std::vector<float> &values); // Set normal point sizes
bool setActivePointSizes(const std::vector<float> &values); // Set active point sizes
bool setNormalPointHoles(const std::vector<float> &values); // Set normal point hole sizes
bool setActivePointHoles(const std::vector<float> &values); // Set active point hole sizes
bool setNormalPointColors(const std::vector<Color> &values); // Set normal point colors
bool setActivePointColors(const std::vector<Color> &values); // Set active point colors
bool setNormalHoleColors(const std::vector<Color> &values); // Set normal point hole colors
bool setActiveHoleColors(const std::vector<Color> &values); // Set active point hole colors
bool setDrawPoints(const std::vector<bool> &values); // Set whether points should be drawn
};
Namespace: | nitisa::charts |
Include: | Charts/Controls/RadarChart/RadarChart.h |