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

Graph of simple data

3 Answers 132 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Graham
Top achievements
Rank 1
Graham asked on 16 Nov 2013, 11:45 PM

I am new to Telerik reporting and am trying to include a simple graph from data that has two columns (X, Y), for instance



1 345



2 10



...



12 3273 



The Graph wizard seems to assume a more complicated data structure and requires a category.



For the simple X Y graph I need there are no grouping or categories.



How do I graph this simple data.







The graph produced by the wizard also has "ALL" under the X axis for which I can not find the property displaying this text.



3 Answers, 1 is accepted

Sort by
0
kashyapa
Top achievements
Rank 1
answered on 17 Nov 2013, 08:34 AM

You can take a look at the below video:

http://tv.telerik.com/watch/reporting/video/working-with-charts-telerik-reports

Its a tutorial to use Telerik Reporting Chart component

0
Graham
Top achievements
Rank 1
answered on 17 Nov 2013, 09:17 AM

Thanks but I am using Telerik Reporting Q3 2013.

In this version the Chart class is marked as obsolete in the Telerik documentation so I am trying to use the Graph class.

I have watched the video, which is for Charts not Graphs, but it does not address my questions re grouping/categories or the "ALL" label on the X  axis

0
Petio Petkov
Telerik team
answered on 20 Nov 2013, 01:05 PM
Hi Graham,

Check out the attached sample. All you need to run it is to provide valid connection string. The coordinate system is cartesian(cartesianCoordinateSystem1) and both axis are Numerical. Also there is only one series(areaSeries1) and both X and Y are set(X=(Fields.Col1), Y=(Fields.Col2))

To create the same Graph using the Graph Wizard you should choose Area(or Line) Chart Type. In the Arrange graph fields you should add "Col1" to Categories and "Col2" to Values and press finish. As you'll see the XAxis Scale is Category Scale. You should change it to Numerical Scale. Open the only one series and set X to X=(Fields.Col1).

Regards,
Petio Petkov
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

Tags
General Discussions
Asked by
Graham
Top achievements
Rank 1
Answers by
kashyapa
Top achievements
Rank 1
Graham
Top achievements
Rank 1
Petio Petkov
Telerik team
Share this question
or