Open Khaledneo opened 5 years ago
Serial charts can only have one horizontal/X axis (or Y if rotate: true
is set), and that axis must be a category axis, which isn't fully numeric. You can set the second value axis as a second Y axis (position: "left"
or position: "right"
), but you also need to specify IDs and assign your graphs to them, e.g.
graphs: [{
// ...
"valueAxis": "v1, //use right hand axis
}, {
// ...
valueAxis: "v2" //use left hand axis
}],
// ...
valueAxes: [{
"position": "right",
"id": "v1",
// ...
}, {
"position": "left",
"id": "v2"
}]
If you need both a numeric X and Y axis, consider using an XY chart instead.
Hello,
I'm using the following Amchart config:
valueAxes object is applied only for Y axis by adding the title and changed the opacity.
Why is not applied for the X axis one?
Thanks.