This is a migrated thread and some comments may be shown as answers.

Chart report source using objects

1 Answer 15 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Trustteam
Top achievements
Rank 2
Trustteam asked on 10 May 2011, 09:13 AM
Hi,

I'm pretty new at the Telerik reporting functionalities.
I'm trying to build up a report source using an object model.
the chart should look like this:
X-axis: month1, month2, ... month12 (date objects)
Y-axis: 0 to 100%
I have a few separate lines to display on this chart (one per location)

I tried an object with the following properties
public string Location { get; set; }
public Dictionary<DateTime, decimal> Values { get; set; }
      
and
public string Location { get; set; }
public DateTime Month { get; set; }
public decimal Value { get; set; }

But none showed anything usable.

Can anyone give any tips on how to build up my object so it will display the correct data?

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 12 May 2011, 01:43 PM
Hi Stijn Vandeputte,

Telerik Reporting Chart does not work directly with DateTime values. Instead, it supports the OLE Automation Date. For more information please check out the Displaying Incremental DateTime Values in the X-Axis of RadChart.

Kind regards,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Trustteam
Top achievements
Rank 2
Answers by
Peter
Telerik team
Share this question
or