Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146096 | Jul 19,2019 10:43 AM UTC | Jul 24,2019 04:51 AM UTC | JavaScript - EJ 2 | 3 |
![]() |
Tags: Chart |
//To customize the decimal points
primaryYAxis:
{
labelFormat: "N3",
title: { text: 'Power Consumption' },
range: { min: 5, max: 54, interval:8.534 }
},
//To display both units and decimalpoints
axesLabelRendering: function(args){
if(args.data.axis.name == "SecondaryAxis"){
args.data.label.Text= args.data.label.Text + 'unit';
}
}, |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.