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

Windows Form RadChartView

7 Answers 217 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sandhya
Top achievements
Rank 1
Sandhya asked on 27 Feb 2015, 05:26 AM
Dear All,


I am searching for windows form a Chart which will support four co-ordinate system chart. My requirement is plotting chart with 2 X axis and  2 Y Axis with single point plotting for values of (X,Y,X1,Y1). primary X axis and Y axis displays pressure and secondary X and Y Axis displays temperature.

Please let me know if this is possible with RadchartView for windows form .net 2.0 application so that we can think of buying licensed version.

Regards,
Sandhya.  

7 Answers, 1 is accepted

Sort by
0
Ivan Petrov
Telerik team
answered on 27 Feb 2015, 04:15 PM
Hello Sandhya,

Thank you for writing.

If I understand your requirement correctly you need a chart with two vertical and two horizontal axes. RadChartView has a feature we call "Multi-axis support" which allows you to add and even mix axes and series. More on this matter you can find in our online documentation - Multi-axes. There is also an example of this functionality in our Demo application under ChartView >> Multi-Axes.

On your second question, RadChartView is written for .net 2.0 so it can work with .net 2.0 or any higher version.

If you have further questions I would be glad to help out.

Regards,
Ivan Petrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Sandhya
Top achievements
Rank 1
answered on 13 Apr 2015, 08:34 AM

Hi Ivan ,

Thanks for your reply. I have explored majority of the rad chart view functionality for windows .net 2.0  as per our requirement but for following I am not getting any solution.

Always display X and Y axis starting and Ending coordinate like if defined from 40 to 80 then it should be from 40 to 80 only.

Chart Title Center Aligned.

I have defined following properties but its not making chart title center aligned.

chartView.ChartElement.TitleElement.TextOrientation = Orientation.Horizontal
chartView.ChartElement.TitleElement.Alignment = ContentAlignment.TopCenter

Please let me know how this can be achieved.

 

Thanks & Regards,

Sandhya

 

 

 

 

0
Sandhya
Top achievements
Rank 1
answered on 16 Apr 2015, 04:35 AM

Hi All,

We are about to give demo to one of our client but we are not getting any response from Telerik Team regarding issue faced in our demo application. Rad Chart View title alignment I have managed with calculating left position after title is assigned.

But I am not able to find any solution to display linear axis values from Start to End always. Like if Min to Max is defined as -10 to 50 then axis should display from -10 to 50 only.

If we are not getting response from you how we can convince to our client to get Licensed copy of Widnows form Rad Chart View.

Please do reply.

 

 

0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 16 Apr 2015, 06:36 AM
Hello Sandhya,

Thank you for writing back.

Note that most of the forum threads are reviewed by Telerik representatives and we address the questions asked by our customers in the forums as well. Additionally, have in mind that the ticket response time for forum threads is 72 hours. You can refer to our Support Plans for DevTools: http://www.telerik.com/purchase/support-plans/devtools .

As to the questions at hand, in order to center the chart's title, you can set the ChartElement.TitleElement.TextAlignment property to MiddleCenter. You can have a look at our ChartView >> Axes help article where it is demonstrated how to specify the Minimum and Maximum value for the vertical axis for example.
public Form1()
{
    InitializeComponent();
 
    this.radChartView1.Title = "Sample title";
    this.radChartView1.ShowTitle = true;
    this.radChartView1.ChartElement.TitleElement.TextAlignment = ContentAlignment.MiddleCenter;
 
    LineSeries lineSeries = new LineSeries();
    lineSeries.DataPoints.Add(new CategoricalDataPoint(20, "Jan"));
    lineSeries.DataPoints.Add(new CategoricalDataPoint(22, "Apr"));
    lineSeries.DataPoints.Add(new CategoricalDataPoint(12, "Jul"));
    lineSeries.DataPoints.Add(new CategoricalDataPoint(19, "Oct"));
    this.radChartView1.Series.Add(lineSeries);
 
    LineSeries lineSeries2 = new LineSeries();
    lineSeries2.DataPoints.Add(new CategoricalDataPoint(18, "Jan"));
    lineSeries2.DataPoints.Add(new CategoricalDataPoint(15, "Apr"));
    lineSeries2.DataPoints.Add(new CategoricalDataPoint(17, "Jul"));
    lineSeries2.DataPoints.Add(new CategoricalDataPoint(22, "Oct"));
    this.radChartView1.Series.Add(lineSeries2);
 
    LinearAxis verticalAxis = radChartView1.Axes[1] as LinearAxis;
    verticalAxis.Maximum = 50;
    verticalAxis.Minimum =10;
}

I hope this information helps. If you have any additional questions, please let me know.

Regards,
Dess
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Sandhya
Top achievements
Rank 1
answered on 16 Apr 2015, 09:04 AM

Hi Dess,

Thank you for your quick response.  Please let me know for which version of rad chart view windows form its working. I  am using UI for WinForms Q3 2014 trial version.  this.radChartView1.ChartElement.TitleElement.TextAlignment  property is not getting listed for the current version I am using. Also start value and End values of linear axis are getting clipped. In Document its mentioned about cliplabel property is mentioned but its not getting listed. I have searched a lot and then I am able to find the issues are fixed in  WinForms Q1 2015 SP1 trial version. I am updating to this newer version.

I will try with the properties you have mentioned.

 

 

Thanks & Regards,

Sandhya.

 

0
Sandhya
Top achievements
Rank 1
answered on 16 Apr 2015, 11:08 AM

Hi Dess,

 

Thank you so much. Its working perfect as per requirement. Now we can have All required features in the demo.

 

Regards,

Sandhya.

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 20 Apr 2015, 01:07 PM
Hello Sandhya,

Thank you for writing back.

I am glad that all of the required features are now achieved. If you have any additional questions, please let me know.

Regards,
Dess
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
General Discussions
Asked by
Sandhya
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Sandhya
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or