Sets the y value of dataPoint. It determines the position of dataPoint on Y Axis. Values can be positive or Negative
var chart = new CanvasJS.Chart("container", { . . data: [{ dataPoints: [ { x:10, y: 5}, ], }, ] . . }); chart.render();
Comments 2
Server Side Technologies |
Front End Technologies |
Contact |
|
---|---|---|---|
ASP.NET MVC Charts | JavaScript Charts | FAQs | |
PHP Charts | jQuery Charts | Sales Enquiries | |
Spring MVC Charts | React Charts | Support Forum | |
JSP Charts | Angular Charts | Careers | |
JavaScript StockCharts | |||
Privacy Policy © fenopix
How to text in y-axis in stackedColumn chart.
my datapoint is like this
{x:’2015-12-01 ‘, y: ‘run’}
Dinesh,
You cannot set text directly to y. But it can be customized using labelFormatter as shown in this example