I would like to add symbols to my lines.
I am creating an XYChart.
I add data with
LineLayer l = ChartXY.addLineLayer(dataY, colorlist[c % numcolors], names[c]);
l.setXData(dataX);
But cannot figure out how to add a symbol, it appears to only attach to Datasets, like in your example:
layer.addDataSet(data0, 0xff0000, "Quantum Computer").setDataSymbol(Chart.CircleSymbol,
9); |