Q
QMic
Hi all,
i've a problem in OWC10, to create multiple charts in one chartspace.
the problem is, that the categorie axes of each chart in the space are
the same... look at that picture:
how can i tell him, that it should look like this:
(manipulated picture )
here is the code of my 'testprogram', how i generate the categorie axis:
================================================
// xyData AND xyzData are string of that format: "3,4,5,2,3" and
"6,7,6,6,5"
...
for(int counter = 0; counter < 2; counter++)
{
...
chSpace.Charts[counter].SeriesCollection.Add(counter);
...
if(counter == 0)
{
chSpace.Charts[counter].SeriesCollection[counter].SetData(ChartDi-
mensionsEnum.chDimValues,
(int)ChartSpecialDataSourcesEnum.chDataLiteral, xyData);
chSpace.Charts[counter].SetData(ChartDimensionsEnum.chDimCategori-
es, (int)ChartSpecialDataSourcesEnum.chDataLiteral, "q,w,e,r,t");
}
else
{
chSpace.Charts[counter].SeriesCollection[counter].SetData(ChartDi-
mensionsEnum.chDimValues,
(int)ChartSpecialDataSourcesEnum.chDataLiteral, xyzData);
chSpace.Charts[counter].SetData(ChartDimensionsEnum.chDimCategori-
es, (int)ChartSpecialDataSourcesEnum.chDataLiteral,
"55,66,77,88,99");
}
...
}
================================================
thx 4 all answers!
regards QMic
i've a problem in OWC10, to create multiple charts in one chartspace.
the problem is, that the categorie axes of each chart in the space are
the same... look at that picture:
how can i tell him, that it should look like this:
(manipulated picture )
here is the code of my 'testprogram', how i generate the categorie axis:
================================================
// xyData AND xyzData are string of that format: "3,4,5,2,3" and
"6,7,6,6,5"
...
for(int counter = 0; counter < 2; counter++)
{
...
chSpace.Charts[counter].SeriesCollection.Add(counter);
...
if(counter == 0)
{
chSpace.Charts[counter].SeriesCollection[counter].SetData(ChartDi-
mensionsEnum.chDimValues,
(int)ChartSpecialDataSourcesEnum.chDataLiteral, xyData);
chSpace.Charts[counter].SetData(ChartDimensionsEnum.chDimCategori-
es, (int)ChartSpecialDataSourcesEnum.chDataLiteral, "q,w,e,r,t");
}
else
{
chSpace.Charts[counter].SeriesCollection[counter].SetData(ChartDi-
mensionsEnum.chDimValues,
(int)ChartSpecialDataSourcesEnum.chDataLiteral, xyzData);
chSpace.Charts[counter].SetData(ChartDimensionsEnum.chDimCategori-
es, (int)ChartSpecialDataSourcesEnum.chDataLiteral,
"55,66,77,88,99");
}
...
}
================================================
thx 4 all answers!
regards QMic