Home › Forums › Chart Support › Xaxis data › Reply To: Xaxis data
i mean try this: https://canvasjs.com/docs/charts/basics-of-creating-html5-chart/ in the first chart editor create another data series:
{
type: “column”, dataPoints: [
{ label: “orange”, y: 15 }, { label: “apple”, y: 10 },// i switched apples and oranges { label: “banana”, y: 25 }, { label: “mango”, y: 30 }, { label: “grape”, y: 28 } ] }
this plots apples with oranges and x axis labels are according to the last data series entered i.e. it only respects the order of data entry, not grouping according to labels. also i can’t use x for grouping since it doesn’t allow string data type