A
Alhambra-Eidos Kiquenet
Hello misters,
I'll try to make a OWC graphic. I use ASP.net 2.0 + vs 2005 + OWC11.
My code is similar like this:
chartType = OWC11.ChartChartTypeEnum.chChartTypeColumnClustered;
string[] chartCategoriesArr = new string[] { "08/03/2007", "09/03/2007",
"10/03/2007", "11/03/2007" };
string[] chartValuesArr = new string[] { "19400", "15900", "13710", "13010" };
string chartCategoriesStr = String.Join("\t", chartCategoriesArr);
string chartValuesStr = String.Join("\t", chartValuesArr);
....
// Add ChSeries to Chart
OWC11.ChSeries serieOWC = objChart0.SeriesCollection.Add(indiceSeries);
// Categorias
serieOWC.SetData(OWC11.ChartDimensionsEnum.chDimCategories,
Convert.ToInt32(OWC11.ChartSpecialDataSourcesEnum.chDataLiteral),
chartCategoriesArr );
// Values
serieOWC.SetData(OWC11.ChartDimensionsEnum.chDimValues,
Convert.ToInt3(OWC11.ChartSpecialDataSourcesEnum.chDataLiteral),
chartValuesStr);
If I use this data (the categories), there are problems with view
{ "08/03/2007", "09/03/2007", "10/03/2007", "11/03/2007" };
The generated graphic is wrong, but if I use the following data is
ok.(attention "ANYTEXT" text)
{ "ANYTEXT08/03/2007", "09/03/2007", "10/03/2007", "11/03/2007" };
I think that if I use the data { "08/03/2007", "09/03/2007", "10/03/2007",
"11/03/2007" }; the OWC11 component handles the categories like dates and
not like string.
Any help for this case, please ? any solution ?
Thanks, regards, greetings...
I'll try to make a OWC graphic. I use ASP.net 2.0 + vs 2005 + OWC11.
My code is similar like this:
chartType = OWC11.ChartChartTypeEnum.chChartTypeColumnClustered;
string[] chartCategoriesArr = new string[] { "08/03/2007", "09/03/2007",
"10/03/2007", "11/03/2007" };
string[] chartValuesArr = new string[] { "19400", "15900", "13710", "13010" };
string chartCategoriesStr = String.Join("\t", chartCategoriesArr);
string chartValuesStr = String.Join("\t", chartValuesArr);
....
// Add ChSeries to Chart
OWC11.ChSeries serieOWC = objChart0.SeriesCollection.Add(indiceSeries);
// Categorias
serieOWC.SetData(OWC11.ChartDimensionsEnum.chDimCategories,
Convert.ToInt32(OWC11.ChartSpecialDataSourcesEnum.chDataLiteral),
chartCategoriesArr );
// Values
serieOWC.SetData(OWC11.ChartDimensionsEnum.chDimValues,
Convert.ToInt3(OWC11.ChartSpecialDataSourcesEnum.chDataLiteral),
chartValuesStr);
If I use this data (the categories), there are problems with view
{ "08/03/2007", "09/03/2007", "10/03/2007", "11/03/2007" };
The generated graphic is wrong, but if I use the following data is
ok.(attention "ANYTEXT" text)
{ "ANYTEXT08/03/2007", "09/03/2007", "10/03/2007", "11/03/2007" };
I think that if I use the data { "08/03/2007", "09/03/2007", "10/03/2007",
"11/03/2007" }; the OWC11 component handles the categories like dates and
not like string.
Any help for this case, please ? any solution ?
Thanks, regards, greetings...