Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Support Axis formating/customization #39

Closed
dyorgio opened this issue Dec 7, 2016 · 4 comments
Closed

Support Axis formating/customization #39

dyorgio opened this issue Dec 7, 2016 · 4 comments
Milestone

Comments

@dyorgio
Copy link

dyorgio commented Dec 7, 2016

Include on Ticks config the userCallback property:

http://stackoverflow.com/questions/36918887/chart-js-2-0-formatting-y-axis-with-currency-and-thousands-separator

Example:

https://jsfiddle.net/4sLxyfya/7/

@dyorgio dyorgio changed the title Support Y-Axis formating Support Axis formating Dec 7, 2016
@dyorgio dyorgio changed the title Support Axis formating Support Axis formating/customization Dec 7, 2016
@kegoe
Copy link
Contributor

kegoe commented Oct 9, 2018

@dyorgio , @moberwasserlechner, is any of you working on a solution for this or on related #40? We currently consider implementing this, so any update would be appreciated.

@dyorgio
Copy link
Author

dyorgio commented Oct 9, 2018

Hi @kegoe, sadly I'm working with a private fork of this repo.
I would like to return to use this codebase as binary dependency only in the future, but I need the support to pass function to chartjs.

@kegoe
Copy link
Contributor

kegoe commented Oct 12, 2018

#87 solves this while keeping the elemental.json code

@dyorgio
Copy link
Author

dyorgio commented Oct 12, 2018

Very nice solution @kegoe, transfer js functions as String and parsing it on js callback code was my initial idea, but for some reason I gave up to do this. I'm sure that this is a very much elegant solution 🤓

moberwasserlechner pushed a commit that referenced this issue Oct 31, 2018
* General callback support, callback property for formatting ticks (#39)

* Callbacks for tooltips (#48)
@moberwasserlechner moberwasserlechner added this to the 1.4.0 milestone Feb 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants