Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate adding data prefix/ suffix on charts components #107

Open
ghost opened this issue Feb 1, 2018 · 1 comment
Open

Investigate adding data prefix/ suffix on charts components #107

ghost opened this issue Feb 1, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 1, 2018

Essentially, the request is for data label show non-number characters where needed.

$2.5M - would be an example of pre and suffix.
50% - just suffix
$23.95 - just prefix

@zebapy
Copy link
Contributor

zebapy commented Feb 1, 2018

Looks like we can do tooltip prefix/suffix but we'd have to figure out how this works with the Drupal component fields http://www.chartjs.org/docs/latest/configuration/tooltip.html#tooltip-callbacks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant