MindFusion.Charting for JavaScript Programmer's Guide
Axis.origin Property
See Also
 






Gets or sets the origin of the Axis.

Namespace: MindFusion.Charting
File: Axis.js

 Syntax

JavaScript  Copy Code

get origin() {}

 Property Value

Type: Number

 Example

The following code sets some properties of an X-axis, among which also the origin:

JavaScript  Copy Code
chart.xAxis.title = "Temperature";
chart.xAxis.interval = 1;
chart.xAxis.origin = -10;

 See Also

Axis Members
Axis Class
MindFusion.Charting Namespace