24 #ifndef _vtkQtChartAxisOptions_h
25 #define _vtkQtChartAxisOptions_h
28 #include "vtkQtChartExport.h"
88 void setVisible(
bool visible);
99 void setLabelsVisible(
bool visible);
110 void setGridVisible(
bool visible);
126 void setAxisColor(
const QColor &
color);
137 void setLabelColor(
const QColor &
color);
148 void setLabelFont(
const QFont &font);
159 void setAxisScale(AxisScale
scale);
172 void setPrecision(
int precision);
185 void setNotation(NotationType notation);
195 void setGridColorType(AxisGridColor
type);
214 QColor getGridColor()
const;
224 void setGridColor(
const QColor &
color);
238 QString formatValue(
const QVariant &
value)
const;
242 void visibilityChanged();
251 void axisScaleChanged();
254 void presentationChanged();
264 NotationType Notation;
267 AxisGridColor GridType;
The vtkQtChartAxisOptions class stores the drawing options for a chart axis.
NotationType getNotation() const
Gets the notation type for the axis labels.
bool areLabelsVisible() const
Gets whether or not the axis labels are visible.
const QColor & getAxisColor() const
Gets the axis color.
virtual ~vtkQtChartAxisOptions()
AxisScale getAxisScale() const
Gets the axis scale (linear or logarithmic).
int getPrecision() const
Gets the decimal precision of the axis labels.
bool isGridVisible() const
Gets whether or not the axis grid is visible.
const QColor & getLabelColor() const
Gets the color of the axis labels.
bool isVisible() const
Gets whether or not the axis is visible.
const QFont & getLabelFont() const
Gets the font used to draw the axis labels.
AxisGridColor getGridColorType() const
Gets the axis grid color type.