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