Project

General

Profile

Bug #9644

Chart legend formatting

Added by F DU 11 months ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/21/2022
Due date:
% Done:

0%

Estimated time:

Description

I have a scatter chart.
X use DateTime
chart->axis(Wt::Chart::Axis::X).setScale(Wt::Chart::AxisScale::DateTime)

I enabled setCrosshairEnabled(true);
A legend appears in right top but the X is not formatted in DateTime.
Is it possible to change the legend format?
Regards,

#1

Updated by Roel Standaert 10 months ago

Sorry, no, that's not currently supported. The formatting on the axes is done server side, while the X value of the crosshair is calculated client side, where we don't have a formatting function for that.

Also available in: Atom PDF