The image:
Created
March 8, 2016 21:20
-
-
Save ryana/f8022be42e866ca6ca07 to your computer and use it in GitHub Desktop.
y2 axis format example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
options: { | |
data: { | |
axes: { | |
"data1": 'y', | |
"data2": 'y2' | |
}, | |
}, | |
axis: { | |
y2: { | |
show: true, | |
tick: { | |
format: function(v) { return "$" + v } | |
} | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"options": { | |
"data": { | |
"columns": [["data1", 0,1,2,3], ["data2", 0,6,8,10]] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment