Pre loader

Fuzzy Candlestick Chart

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

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 Burnett-Thompson
    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.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies