60 void setCrosshairColor(
const QColor& color);
65 void setLabelBackgroundColor(
const QColor& color);
70 void setLabelTextColor(
const QColor& color);
75 void setFont(
const QFont& font);
86 void render(QPainter* painter,
const QPointF& position,
const ViewPort& viewport,
87 const Pane* pane,
const Series* series,
double xAxisY = -1.0);
90 QColor m_crosshairColor;
91 QColor m_labelBackgroundColor;
92 QColor m_labelTextColor;
95 void drawPriceLabel(QPainter* painter,
double y,
double price,
const QRectF& chartArea,
bool onRight);
96 void drawTimeLabel(QPainter* painter,
double x,
const QString& timeStr,
const QRectF& chartArea,
double bottomY);
97 void drawCrosshairMarker(QPainter* painter,
const QPointF& position);