github graphieros/vue-data-ui v.2.0.5
Custom toolltips

latest releases: v3.2.0, v3.1.18, v3.1.17...
18 months ago

All charts with tooltips now have a customFormat tooltip config option, allowing to customize the tooltip contents.
This config option is set to null by default, resulting in the default tooltip behavior.

customFormat: ({ seriesIndex, datapoint, series, config }) => {
  // use the args to build your custom content
  return `<div>...your content here</div>`
}

customFormat must return a string.

Don't miss a new vue-data-ui release

NewReleases is sending notifications on new releases.