Project

General

Profile

Actions

Bug #9644

open

Chart legend formatting

Added by F DU over 2 years ago. Updated over 2 years 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,

Actions #1

Updated by Roel Standaert over 2 years 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.

Actions

Also available in: Atom PDF