We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Understanding WPF Chart Binding: BindingPathY is array of Strings

Thread ID:

Created:

Updated:

Platform:

Replies:

111058 Sep 5,2013 07:15 PM UTC Sep 16,2013 07:02 AM UTC WPF 1
loading
Tags: Chart
sri
Asked On September 5, 2013 07:15 PM UTC

Hi ,

Would you please help me to understanding syncfusion chart bindings.

As per documentation BindingPathY is array of strings and BindingPathX is string word which is string type.

Why BindingPathY is array of strings?  Can you please help me to understand with sample project. 

chart1.Areas[0].Series[0].BindingPathsY = new string[] { "Sales" };

Thankyou,
~SN

Muneesh Kumar G [Syncfusion]
Replied On September 16, 2013 07:02 AM UTC

Hi Sri,

 

Thanks for using Syncfusion products,

 

We would like to inform you that  some kind of chart types  need more than one BindingPathsY values. For example HiLo chart type requires two BindingPathsY values for start and end points, HiLoOpenClose chart type requires four BindingPathsY values for high, low, open, close points. So that BindingPathsY is defined as a String array property. Please find the below code snippet for BindingPathsY usage.

 

Code Snippet[C#]:

 

public MainWindow()

{

InitializeComponent();

series.BindingPathsY = new string[] { "High", "Low", "Open", "Close" };

}

 

We have prepared a sample based on this and you can find the sample under the following location:

Please let us know if you have any queries,

 

Regards,

Muneesh Kumar G.



Samples_For_BindingPathsY_47b61177.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;