I need to build two different data sets in one graph.
DataSet-1
String[] xAxisOne = new String[] {
"0", "1", "2", "3", "4", "5", "6"
};
float[] dataInput = {
1f, 2f, 3f, 4f, 5f, 6f, 7f
};
DataSet-2
String[] xAxisTwo = new String[] {
"0", "2", "4", "5", "6", "8", "9"
};
float[] dataIn = {
3f, 4f, 5f, 6f, 7f, 8f, 9f
};
In the above data, DataSet-1 is the link by which the graph is created. DataSet-2 must be built in the same set of X-Value values {xAxisTwo} .
In the existing implementation, the first 6 values of {dataInput} are plotted, and the next 6 values of {dataInput} are plotted with reference to xAxisOnehow to plot the graph as needed.