Skip to content

Add datasetIndex and chart instances to render and fontColor function…#88

Open
stockiNail wants to merge 1 commit intoemn178:masterfrom
stockiNail:patch-1
Open

Add datasetIndex and chart instances to render and fontColor function…#88
stockiNail wants to merge 1 commit intoemn178:masterfrom
stockiNail:patch-1

Conversation

@stockiNail
Copy link

… object

To implement a customization on rendering and coloring you could need of information based on other elements of chart (not only dataset item). Furthermore 'index' represent the value inside the dataset but not the dataset index. Therefore I suggest to add 'datasetIndex' and 'chart' into the object to pass as argument to callbacks.

… object

To implement a customization on rendering and coloring you could need of information based on other elements of chart (not only dataset item). Furthermore 'index' represent the value inside the dataset but not the dataset index. Therefore I suggest to add 'datasetIndex' and 'chart' into the object to pass as argument to callbacks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments