|
Silverlight control.... |
Posted by Ramesh on Apr-13-2009 22:36 |
|
Hi,
I'm using ChartDirector control in my reports in VS2005. Now i need to upgrade this to VS 2008 with rich look and feel. So i thought of using silverlight. Do we have any Silverlight Chart Director controls that can replaced with existing Chart director charts?
Thanks
Ramesh |
Re: Silverlight control.... |
Posted by Peter Kwan on Apr-14-2009 01:11 |
|
Hi Ramesh,
Unluckily, there is no "SilverLight" specific version of ChartDirector.
I have not tried ChartDirector for .NET with SilverLight and are not sure if it can work with SilverLight at all. Because SilverLight supports .NET, and ChartDirector for .NET can generate charts in GIF, JPEG and PNG formats, and I think SilverLight should be capable of displaying these images, so I think it is possible SilverLight can use ChartDirector to generate charts.
For your information, we have tested ChartDirector for .NET with a related technology WPF, and it works normally.
Hope this can help.
Regards
Peter Kwan |
Re: Silverlight control.... |
Posted by kroxa on Jan-22-2010 03:19 |
|
any plans Silverlight version? |
Re: Silverlight control.... |
Posted by SK on Jan-22-2010 04:45 |
|
Hi Peter,
We too are keen looking for SliverLight control of ChartDirector. For developing a rich web application using WPF is to building the app as XBAP but that is supported only by IE. So having a SilverLight control would be great.
I know Silverlight can handle the image formats you specified. To try CD with Siliverlight, the ChartDirector should have been built for SilverLight CLR. Is there a demo control (just CD assembly built for Silverlight CLR) available ?
- SK |
Re: Silverlight control.... |
Posted by Peter Kwan on Jan-22-2010 13:45 |
|
Hi kroxa/SK,
We do have a plan to support Silverlight, but we do not yet have a committed schedule.
Currently, we know that ChartDirector does not run with the Silverlight CLR. It needs the standard .NET CLR.
To use ChartDirector in a Silverlight application, the only method I can think of is to generate the chart on the server side as an image (instead of generating the chart on the browser side), then display the image in the Silverlight application.
Regards
Peter Kwan |
Re: Silverlight control.... |
Posted by kroxa on Apr-29-2010 23:26 |
|
silverlight 4.0 version? |
Re: Silverlight control.... |
Posted by Peter Kwan on Apr-30-2010 01:11 |
|
Hi kroxa,
When we support SilverLight, we probably will support all SilverLight versions in common use, up to the latest version.
Regards
Peter Kwan |
Re: Silverlight control.... |
Posted by SK on May-29-2010 15:58 |
|
Is 5.1 will support SilverLight ? The most wanted feature for me is the user interaction. Is 5.1 will have user interactions ? (line drawing etc) |
Re: Silverlight control.... |
Posted by Peter Kwan on Jun-01-2010 01:53 |
|
Hi SK,
We might release an experimental SilverLight "ChartViewer" control that can view charts created on the server side, with hot spots support. Note that the charts are still created on the server side using ASPX.
By "user interaction - line drawing etc", do you mean you want to allow users to draw lines interactively with the mouse, something like in "Photoshop"? ChartDirector does not have "Photoshop" features for interactive graphics. If you are thinking about interactive graphics editing, you would need to develop your own interactive graphics package, and use it to draw on charts generated by ChartDirector.
If you mean to allow the user selects data to draw line charts, ChartDirector already allows you do create this type of Silverlight application today.
Hope this can help.
Regards
Peter Kwan |
Re: Silverlight control.... |
Posted by JJ on Apr-30-2012 05:26 |
|
No Silverlight support coming?
If not, could you perhaps specify the aspx serverside image generation with SL a bit more? |
Re: Silverlight control.... |
Posted by Peter Kwan on May-01-2012 01:53 |
|
Hi JJ,
There is an experimental SilverLight sample code with tooltips support at:
http://www.advsofteng.com/silverlighttest.zip
The above sample code is based on VS 2008/Silverlight 3. In the sample code, there is a "SilverlightChartViewer.dll". To use it, set a namespace to represent the SilverlightChartViewer, like:
xmlns:chart="clr-namespace:ChartDirector;assembly=SilverlightChartViewer"
Then you may insert the SilverlightChartViewer, like:
<chart:SilverlightChartViewer x:Name="myChart" Source="symbolline2.aspx" />
The "Source" attribute should point to a URL that produces an HTML web page with a chart and its image map. For testing, you may use the sample ASPX included in ChartDirector if you like. The chart will then be displayed in Silverlight with tooltips.
(Hint: if you want to Stretch the chart, you may use the "Stretch" attribute, the same as the Stretch attribute in a normal Silverlight image.)
Regards
Peter Kwan |
|