Page 1 of 1

Chart report and points destination

Posted: Wed Oct 07, 2009 3:20 am
by zilot
Hello

I have this problem, and dont know if it can be solved. I have set of points obtained by some measurement. When I populate dundas chart I get this

Image

but when fill dataSet structure with same data and register to stimulisoft report

Code: Select all

for (int i = 0; i < chart1.Series["maxTemp"].Points.Count; i++)
{
 dataSet1.Tables[0].Rows.Add(DateTime.FromOADate(chart1.Series["maxTemp"].Points[i].XValue), (int)chart1.Series["Temperatura"].Points[i].YValues[0], (int)chart1.Series["maxTemp"].Points[i].YValues[0], (int)chart1.Series["minTemp"].Points[i].YValues[0]);
}

stiReport1.RegData(dataSet1);
where dataSet1 columns are DateTime, int and int types

I get this

Image

So my question is, can I set somehow stimulireport to take care about points destination in X axes to obtain same result as in dundas chart (dundas chart takes care about time axis)

Chart report and points destination

Posted: Fri Oct 09, 2009 2:13 pm
by Edward
Hi

Yes, this is possible to add a Range for the X and Y Axis and a step for each axis. For this we have a Range group of properties under 'Area' group of properties in the 'Properties' tab when the Chart is selected.

But for now this option supports only numeric value, dates do not supported yet, we have added this into our to-do list.

Thank you.