XY Chart with Value-Based Line Graphs
In the most common version of a line chart you have an X-axis representing some categories or date/time and an Y-axis representing values for those categories. In amCharts XY charts you can have any type of axis in each dimension. In this demo we use two value axes and the lines just have two numeric coordinates.
Key implementation details
We add 2 ValueAxis
axes to our chart, add LineSeries
and specify valueXField
and valueYField
on the series for the line coordinates.