Opened 6 years ago

Closed 6 years ago

#16799 closed enhancement (fixed)

Inconsistent support for HTML versus GFX based labels in dojox.charting

Reported by: Jared Jurkiewicz Owned by: cjolif
Priority: undecided Milestone: 1.9
Component: Charting Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Jared Jurkiewicz)

dojox/charting/Chart.js does not provide any way to specify to render the title using GFX (SVG/VML/Etc) instead of HTML-Based DIV tags. The other labeling items, such as the axis, or Pie chart, support being able to do this.

This is important in order to be able to serialize the Chart surface to SVG, for rendering on a backend service (such as Apache Batik), and consistently get all the labels. I propose that Chart.js support the same flag as the other parts of the charting framework:

htmlLabels: false

For forcing it to always use GFX rendering of the title.

Patch coming.

Attachments (1)

16799.patch (1.6 KB) - added by Jared Jurkiewicz 6 years ago.
Patch to add in support for htmlLabels property on the topLevel chart so title renders as GFX too if desired.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by Jared Jurkiewicz

Attachment: 16799.patch added

Patch to add in support for htmlLabels property on the topLevel chart so title renders as GFX too if desired.

comment:1 Changed 6 years ago by Jared Jurkiewicz

Description: modified (diff)

comment:2 Changed 6 years ago by cjolif

Milestone: tbd1.9
Status: newopen

comment:3 Changed 6 years ago by cjolif

Owner: changed from Eugene Lazutkin to cjolif
Status: openassigned

comment:4 Changed 6 years ago by cjolif

Resolution: fixed
Status: assignedclosed

In [30772]:

fixes #16799. Add support for htmlLabels property on the topLevel chart so that title renders as GFX too if desired. Thanks jaredj CLA.

Note: See TracTickets for help on using tickets.