Gets or sets the origin of the Axis.
Namespace: MindFusion.Charting
File: Axis.js
JavaScript Copy Code |
---|
get origin() {} |
Type: Number
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; |