series.xAxisString(default: "primary")
The name of the X axis to use.
The
xAxisoption is supported when series.type is set to "bubble", "scatter", "scatterLine" or polar series.
For polar series the xAxis range is expressed in degrees.
Example - set the chart series xAxis
<div id="chart"></div>
<script>
$("#chart").kendoChart({
xAxis: [
{ name: "primaryX", categories: ["A", "B", "C"] },
{ name: "secondaryX", categories: ["X", "Y", "Z"] }
],
series: [
{
type: "scatter",
xAxis: "primaryX",
data: [[1, 2], [2, 3], [3, 4]]
},
{
type: "scatter",
xAxis: "secondaryX",
data: [[0, 1], [1, 2], [2, 3]]
}
]
});
</script>
In this article