SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & 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!

Answered
0
0

Hi,

I’m currently trialing Scichart and I’m impressed by the features although the candlecharts I’ve generated are somewhat fuzzy.

I’ve attached a screenshot showing an a chart from the examples suite vs a chart which I’ve generated. As you can see there is a clear difference between the two, in both cases it’s set to Software high speed rendering.

I took the real time ticking stock charts example as the basis for my chart where as the Scichart example in the attached screenshot uses the SCichart trader example. In the Scichart trader example custom defintions for wick colours etc… have been set, I tried to merge this into my chart to see if there would help but had difficulties as I wasn’t able to use the

settings as my chart used

<s:SciStockChart x:Name=”sciChart”

with the FastCandlestickRenderableSeries being set in the view model.

So I guess the question has two parts:

Is there a reason why the chart would be fuzzy?

Is there a way to set properties such as UpWickColor when using s:SciStockChar?

Please let me know if any of the above needs clarifying.

Thanks!

Images
  • You must to post comments
Best Answer
0
0

Two things to check

  1. You may have set FastCandlestickRenderableSeries.AntiAliasing = true (or not set it to false). This is unnecessary and will cause lines to be blended and less sharp

  2. You may need to check the value of UIElement.SnapsToDevicePixels and UIElement.UseLayoutRounding on parent elements of the SciChartSurface. This property is important as it forces WPF to have round numbers for element sizes.

You can check the value of both of these properties and dynamically change them at runtime using WPF Snoop.

Hope this helps,

  • tmfdouglas@outlook.com Douglas
    Thanks for the quick response Andrew. Setting AntiAliasing = false fixed it.Re. SciStockChart and SciChartSurface classes, in the example suite real time ticking stock charts uses SciStockChart where as SciChart Trader uses SciChartSurface. Is there a reason to use one over the other? There are various other examples I'd like to implement parts of and excluding real time they all seem to use SciChartSurface.Thanks Tim
  • Andrew
    Hi Tim, glad it helped :) Scistockchart is simply a specialised form of Scichartsurface which wraps up and simplifies some common use cases. See https://www.scichart.com/questions/question/can-scichartsurface-be-used-within-scichartgroup
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.