Tools for Silverlight

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
IASTECH
Newbie
Newbie
Posts: 13
Joined: Fri Nov 15, 2002 12:00 am

Tools for Silverlight

Post by IASTECH » Wed Sep 29, 2010 2:12 pm

Hi.

I have some doubts about new .Net 2010 Version:

Does TChart .Net have?...

1 - Support for Cursor Tool for Silverlight? (I want to show all series values in my legend using cursor tool (follow mouse), just like in ActiveX).
2 - Support for real time data load like XML and Ajax on ActiveX version?
3 - Support for Zoom and Scroll like AX?

Thaks!

IASTECH
Newbie
Newbie
Posts: 13
Joined: Fri Nov 15, 2002 12:00 am

Re: Tools for Silverlight

Post by IASTECH » Wed Sep 29, 2010 2:14 pm

Ops... I forgot to mention that all question is for Silverlight, ok?

Thanks!

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Tools for Silverlight

Post by Narcís » Thu Sep 30, 2010 10:18 am

Hi IASTECH,

Yes, TeeChart.Silverlight.dll supports all features you requested. I strongly recommend you to download the fully functional evaluation version available at http://www.steema.com/evaluation/net and check the Silverlight demo included.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

IASTECH
Newbie
Newbie
Posts: 13
Joined: Fri Nov 15, 2002 12:00 am

Re: Tools for Silverlight

Post by IASTECH » Mon Oct 04, 2010 11:36 am

Hi!

I've tested a lot of functions that i use in Ax and works fine. I didn't find a way to load data with XML content data like Ax. In silverlight samples i found only method "Add" to add each point. I need something faster to load huge amount of data in silverlight.

Best Regards!

IASTECH
Newbie
Newbie
Posts: 13
Joined: Fri Nov 15, 2002 12:00 am

Re: Tools for Silverlight

Post by IASTECH » Mon Oct 04, 2010 5:25 pm

Hi!

I'm facing a problem with cursor tool in silverlight version. It's too slow to follow mouse cursor, instead of Ax.

I just put the following code at page startup and i didn't associated with any series in order to try a faster cursor. I'll use timestamp of cursor position to calculate series value.

Is there something more efficient that works like cursor in Ax version?

Sample code at startup page:
CursorTool cursorTool1 = new CursorTool(tChart1.Chart);
cursorTool1.Active = true;
cursorTool1.FollowMouse = true;
cursorTool1.Style = CursorToolStyles.Both;

Note: My chart has 10000 points divided by 5 line series. Two thousand points per series.

Thanks!

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Tools for Silverlight

Post by Sandra » Tue Oct 05, 2010 4:14 pm

Hello IASTECH,

Sorry for delay. I have found a solution, because you can increase performance in your application. I have made a simple project based with this link and adapted for your code.

Code: Select all

public MainPage()
        {
            InitializeComponent();
            InitializeChart();
        }

        private Steema.TeeChart.Silverlight.Styles.FastLine series1, series2, series3, series4, series5;
        private void InitializeChart()
        {
           //Sample code at startup page:
           series1 = new Steema.TeeChart.Silverlight.Styles.FastLine(tChart1.Chart);
           series2 = new Steema.TeeChart.Silverlight.Styles.FastLine(tChart1.Chart);
           series3 = new Steema.TeeChart.Silverlight.Styles.FastLine(tChart1.Chart);
           series4 = new Steema.TeeChart.Silverlight.Styles.FastLine(tChart1.Chart);
           series5 = new Steema.TeeChart.Silverlight.Styles.FastLine(tChart1.Chart);
        
           series1.FillSampleValues(2000);
           series2.FillSampleValues(2000);
           series3.FillSampleValues(2000);
           series4.FillSampleValues(2000);
           series5.FillSampleValues(2000);

           series1.DrawAllPoints = false;
           series2.DrawAllPoints = false;
           series3.DrawAllPoints = false;
           series4.DrawAllPoints = false;
           series5.DrawAllPoints = false;

           Steema.TeeChart.Silverlight.Tools.CursorTool cursorTool1 = new Steema.TeeChart.Silverlight.Tools.CursorTool(tChart1.Chart);
           cursorTool1.Active = true;
           cursorTool1.FollowMouse = true;
           cursorTool1.Style = Steema.TeeChart.Silverlight.Tools.CursorToolStyles.Both;

        }   
Could you please, tell us if previous code works as you want?

I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

IASTECH
Newbie
Newbie
Posts: 13
Joined: Fri Nov 15, 2002 12:00 am

Re: Tools for Silverlight

Post by IASTECH » Wed Oct 06, 2010 10:37 am

Hi!

Unfortunately silverlight cursor tool is very slow unlike ax version. Have you another suggestion?! I need to show Y values while user move mouse cursor over the graph, like Google Finance Graph: http://www.google.com/finance?q=INDEXDJ ... SDAQ:.IXIC.

Do you think that Flex version could be better?! I'm running this demo on a Intel i7 with 8gb RAM, so computer is not the problem... :D

Please, let me know if there's a better way to load a huge amount of data instead of using "Line.Add" method.

Best Regards!

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Tools for Silverlight

Post by Sandra » Fri Oct 08, 2010 9:49 am

Hello IASTECH,

Sorry for the delay. I am afraid that the only think I could recommend you is take a look in our article of Real-TimeCharting where explain how you do optimized your performances of your charts. You can find it here.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

IASTECH
Newbie
Newbie
Posts: 13
Joined: Fri Nov 15, 2002 12:00 am

Re: Tools for Silverlight

Post by IASTECH » Fri Oct 08, 2010 10:12 am

Thanks, but i already knew this article. I'll try something with Flash/Flex.

Best regards!

Post Reply