SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

1
0

Hello,

I am evaluating SciChart for use in a large WPF application. Right now, we’re using Visifire. It’s OK, but we are running into performance issues and flexibility constraints. So far, SciChart looks much better.

To speed along the evaluation, I’m hoping you can answer a few questions for me:

  1. Does the rollover modifier work with dynamically generated lines (i.e. the FastLineRenderableSeries is not declared in XAML)? In a small sample I built using the trial, rollovers aren’t working at all. Also, is there an event fired on rollover I can use instead of data binding?

  2. Can the Y-Axis be displayed on the left -and- right sides? Customer feedback is that mirroring the axis makes reading the chart easier.

  3. Are there events and properties to determine when the graph is zoomed/panned, and what values are currently visible? I need to synchronize a data grid with just the visible values in the chart.

  4. Can I add custom markers to the chart? Based on samples, it looks like I can. I need markers for max, min and a number of other notable points in the chart.

  5. Can I control formatting of axis values? I need to be able to localize dates, and format currency values with appropriate currency symbols, thousands separators, and decimals.

Thanks,
Alex.

  • You must to post comments
1
0

Hello Alex, thanks for your post!

As promised here are some answers to your questions. If you have any further queries feel free to ask. We’re here to help 🙂

  1. The RolloverModifier will require that a RolloverMarkerTemplate is set on the FastLineRenderableSeries or it will not work. Yes you can declare this in code-behind, however its of type ControlTemplate. A workaround might be to create the control template in Xaml and index it as follows:

Xaml

<ControlTemplate x:Key="MyControlTemplate">
    <Ellipse Width="7" Height="7" 
          Fill="#33FFFFFF" Stroke="#FFFF55555"
          StrokeThickness="1"/>
</ControlTemplate>

C#

   var controlTemplate = Resources["MyControlTemplate"] as ControlTemplate;
   myRenderableSeries.RolloverMarkerTemplate = controlTemplate;

An alternative is create a style in Xaml for the type FastLineRenderableSeries without an x:Key attribute,
setting the RolloverMarker property here.

  1. Yes, you can set left/right axis side using sciChartSurface.YAxis.AxisAlignment = AxisAlignment.Left. Multiple axes are also possible on the left and right sides. See our demo “Secondary Y-Axis” and “Quad Left/Right Axis” at http://www.scichart.com/demo for source code examples

  2. Yes, you can subscribe to SciChartSurface.Rendered, which occurs immediately after a render, where you can get the sciChartSurface.YAxis.VisibleRange and sciChartSurface.XAxis.VisibleRange

  3. Yes, we have a tutorial on custom markers & annotations here: http://http://www.scichart.com/annotations-adding-trade-markers-to-a-chart/

Any UIElement annotation may be added to the chart and in future we are working to improve this functionality to provide a full suite of interactive annotations.

  1. Yes, please see the example “Modify Axis Behavior” in our demo app at http://http://www.scichart.com/demo . The property you are looking for is TextFormatting on the axis
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.