Chart report and points destination

Stimulsoft Reports.NET discussion
Post Reply
zilot
Posts: 4
Joined: Thu May 14, 2009 3:36 am
Location: russia

Chart report and points destination

Post 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)
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Chart report and points destination

Post 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.
Post Reply