Skip to content

ODS Charts uses tooltip.formatter in place of valueFormatter #877

Description

@jacques-lebourgeois

Prerequisites

Describe the issue

Apache Echarts uses tooltip.formatter to format tooltip/popover values like in the example;

tooltip: {
  formatter: function (params) {
    return `<span style="color: red; font-size:x-large">${Math.round(params[0].value * 100) / 100}</span> °C\`;
  },
},

Since Apace ECharts 5.3.0 there is a tooltip.valueFormatter that should be uses in place of the tooltip.formatter

Reduced test cases

Contradiction betwwen example Specific value tooltip content in ODS Charts
and tooltip.formatter definition

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you seeing the problem on?

Chrome

What version of ODS Charts are you using?

v0.3.1

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions