generated from sgratzl/ts-library-template
-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It would be great if we could customize the intersection labels. Specifically, we would like to get rid of thousands separator.
I've had a look into the code, the format seems to be "hardcoded" to toLocaleString, which separates by . or ,, depending on browser settings.
| ctx.fillText(values[i].value.toLocaleString(), intersection.text.x, intersection.text.y); |
ChartJS' TickOptions offer callback property:
https://github.com/chartjs/Chart.js/blob/57b5c5b78fb2d8504f556bef6e4177735d9929ea/src/types/index.d.ts#L3044-L3047
Would it be possible to implement that the Venn diagrams respect this property and apply it, if set? Many other types of diagrams support that option and we already make great use of it.
User story
Additional context
fhennig
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
