Normal parallel Coordinates in WPF using MVVM pattern

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
rakeshmurthy
Posts: 4
Joined: Thu Jun 18, 2015 7:58 am

Normal parallel Coordinates in WPF using MVVM pattern

Post by rakeshmurthy » Thu Jun 18, 2015 8:09 am

Hello everyone,

I am trying to plot 2D parallel co-ordinates chart using Lightingchart. However, I am clueless how to do it using lightning chart.
I have xaml page, viewmodel and model classes.
Please the below figure of how my parallel coordinates should look and have.

see attachment or see below link:
https://drive.google.com/file/d/0B9nOdu ... sp=sharing

Please note: I am using WPF and MVVM pattern for development.

Thank you,
Rakesh Murthy
Attachments
lookingfor.png
lookingfor.png (33.45 KiB) Viewed 15405 times

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Normal parallel Coordinates in WPF using MVVM pattern

Post by ArctionPasi » Thu Jun 18, 2015 10:19 pm

Hi,

we have a parallel coordinates chart in the demo application, but by using code-behind only.
Parallel coordinates chart
Parallel coordinates chart
parallelCoordinatesChart.jpg (268.14 KiB) Viewed 15398 times
Other stuff you can set in MVVM, but for data points, use code-behind.
LightningChart Support Team, PT

rakeshmurthy
Posts: 4
Joined: Thu Jun 18, 2015 7:58 am

Re: Normal parallel Coordinates in WPF using MVVM pattern

Post by rakeshmurthy » Fri Jun 19, 2015 7:14 am

ArctionPasi wrote:Hi,

we have a parallel coordinates chart in the demo application, but by using code-behind only.
parallelCoordinatesChart.jpg
Other stuff you can set in MVVM, but for data points, use code-behind.

Hello ArctionPasi,

I am sorry if i sound too silly, but, where is this demo application of yours? and the parallel coordinates controls can be used as a control in my application after loading respective dlls into the my visual studio 2012 express edition? does the example in your demo application can be debug to understand the logic of how to give data to the parallel co-ordinates?

Thank you

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Normal parallel Coordinates in WPF using MVVM pattern

Post by ArctionPasi » Fri Jun 19, 2015 12:23 pm

The demo application with Visual Studio projects is available on the hard drive and Windows Start Menu after you install our SDK.

Please see this:
http://www.arction.com/forum/viewtopic.php?f=16&t=514
LightningChart Support Team, PT

rakeshmurthy
Posts: 4
Joined: Thu Jun 18, 2015 7:58 am

Re: Normal parallel Coordinates in WPF using MVVM pattern

Post by rakeshmurthy » Fri Jun 19, 2015 2:02 pm

ArctionPasi wrote:The demo application with Visual Studio projects is available on the hard drive and Windows Start Menu after you install our SDK.

Please see this:
http://www.arction.com/forum/viewtopic.php?f=16&t=514
Hello ArctionPasi,

I installed Arction and everything is ok. As per your manual, I also added that in the toolbox of my visual studio. However, Non of the charts are appearing in my toolbox under Arction. Non of the chart meaning, for example, parallel co-ordinates, bar series etc. non of these are listed in toolbox.

Please guide me how to make them appear in toolbox... so that i can use them.

Also, Problem is I am using the Visual Studio express 2012. Hence, I am not able to open your demo application projects in my visual studio. If possible, Please attach the parallel co-ordinates complete example (all xaml and its code-behind files) so that i can open in my vs2012 express edition.

Regards,
Rakesh.N

User avatar
blakeadkins
Posts: 44
Joined: Tue Feb 25, 2014 7:49 pm

Re: Normal parallel Coordinates in WPF using MVVM pattern

Post by blakeadkins » Fri Jun 19, 2015 3:06 pm

rakeshmurthy wrote:
ArctionPasi wrote:The demo application with Visual Studio projects is available on the hard drive and Windows Start Menu after you install our SDK.

Please see this:
http://www.arction.com/forum/viewtopic.php?f=16&t=514
Hello ArctionPasi,

I installed Arction and everything is ok. As per your manual, I also added that in the toolbox of my visual studio. However, Non of the charts are appearing in my toolbox under Arction. Non of the chart meaning, for example, parallel co-ordinates, bar series etc. non of these are listed in toolbox.

Please guide me how to make them appear in toolbox... so that i can use them.

Also, Problem is I am using the Visual Studio express 2012. Hence, I am not able to open your demo application projects in my visual studio. If possible, Please attach the parallel co-ordinates complete example (all xaml and its code-behind files) so that i can open in my vs2012 express edition.

Regards,
Rakesh.N
You should see a LightningChartUltimate in the Toolbox; the LightningChartUltimate is the chart and then you set your chart type either in the xaml or code behind. In the demo you can see the code that does that.

rakeshmurthy
Posts: 4
Joined: Thu Jun 18, 2015 7:58 am

Re: Normal parallel Coordinates in WPF using MVVM pattern

Post by rakeshmurthy » Fri Jun 19, 2015 3:53 pm

I am now able to create the parallel co-ordinates in my application. Thank you very much for the replies.

Do we we have to manually do scale to y axis ? or is there any automatic scaling function available?

Thank you

User avatar
blakeadkins
Posts: 44
Joined: Tue Feb 25, 2014 7:49 pm

Re: Normal parallel Coordinates in WPF using MVVM pattern

Post by blakeadkins » Fri Jun 19, 2015 4:26 pm

rakeshmurthy wrote:I am now able to create the parallel co-ordinates in my application. Thank you very much for the replies.

Do we we have to manually do scale to y axis ? or is there any automatic scaling function available?

Thank you
One of the best examples I've seen that shows axis scaling is the Signal Reader in the 'Real-time Monitoring" section in the Demo program. I'd take a look at the source code in there.

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Normal parallel Coordinates in WPF using MVVM pattern

Post by ArctionPasi » Sat Jun 20, 2015 2:04 am

Thanks Blake sharing your help here. :D
LightningChart Support Team, PT

Post Reply