This is my first time in this forum, and I am analyzing SCIChart. I am planning to use it in my software, but there are some questions I haven’t been able to answer yet.
My software is similar to an IDE, where the user can build their custom applications and run on windows environment, but we also provide an option to save all the interface in html and javascript. Since SCIChart provides not only WPF Charts but also javascript Charts, I would like to know the following:
1- Does the javascript charts have the same functionalities as the wpf charts? XY Charts or Pie charts for example, will they have the same functionalities in WPF and Javascript ?
2- Does the appearence of the charts in WPF and Javascript are the same? Do they look exatcly the same?
I believe these are my biggest doubts so far. Thanks in advance !!
- You must login to post comments
Hi Fabio
Pretty much. The libraries are designed to be as similar as possible, but because they are written in different languages (at different times) there will be some features implemented in one library (WPF) and not on another (JS)
However, for the code features they are almost identical.
XY charts in wpf and JS support line, scatter, column, mountain, stacked column/mountain, band, candlestick, ohlc, Heatmap. Both support pie and donut. All support unlimited multiple X Y axis on left, right, bottom or top of the chart. All support themes and have customisable themes so they look very similar. They support tooltips, legends, zooming and panning. The APIs are very similar (same properties names but wpf will have Xaml binding where JS will have programmatic properties)
My suggestion is try working with a core subset of the libraries on both platforms. If you notice any differences, tell us, we would like to hear it
Best regards
Andrew
- Andrew Burnett-Thompson answered 1 year ago
- You must login to post comments
Dear Andrew,
Thanks for the quick answer. I appreciate it.
Is it possible to export the data into csv (visible data of the chart) as a built-in function? I saw it is possible to “WPF Export and Screenshot options in Chart”, screenshot is a great functionality, but does the data export is a built-in option? If not, its not a big deal but definitely would be a great option too.
- Fabio Pereira de Carvalho answered 1 year ago
- last edited 1 year ago
- You must login to post comments
Hi Fabio,
SciChart.js can export data via its serialisation functions. Just call SciChartSurface.toJson(false)
to export the entire chart definition, including data, to json (see serialization docs and our Typedoc).
SciChart WPF can export the chart definition to XML via it’s serialization APIs as well, but not the data. See the WPF Chart Serialization documentation page for more details.
Note that for WPF, if you see Accessing X,Y Values (read-only), you can access the DataSeries.XValues and DataSeries.YValues as a list and persist these as you wish.
Best regards
Andrew
- Andrew Burnett-Thompson answered 1 year ago
- You must login to post comments
Please login first to submit.