Pre loader

Tag: DrawMajorGridLines

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

1 vote
16k views

I made an example based on the “Vertically Stacked Axes” from SciChart Examples. The main difference is that I can add DataSeries / YAxes on the fly.

The problem is that when DrawMajorGridLines, DrawMinorGridLines are turned ON the are drawn only at the first trace.

  • Jan Kaiser asked 9 years ago
  • last active 9 years ago
0 votes
10k views

Hi,

I want to limit the range of the grid lines of a graph. For example on the screenshot, I don’t want any gridlines on the marked area.
Is there way to do what I want?

I’m using version 3.60.0.7618

Thank you

View post on imgur.com

  • kewur asked 7 years ago
  • last active 7 years ago
0 votes
10k views

Hi, guys

My x axis is SCICategoryDateTimeAxis and i’m want to draw grid line with custom period. Let’s say every four hours for data with a period of thirty minutes. What is the best way for that?

Can i redifined axis’s tickCoordinatesProvider?
Can you provide some example?
Or it only possible with axes annotations ?

Best regards,
Sushynski Andrei

0 votes
10k views

Hi there,

I am new to the SciChart. Could you please tell me what is the name of “x-Axis” in SciStockChart?
Since from your example, you used SciChartSurface. The Checkbox syntax shows below. The ElementName is xAxis.

CheckBox Margin=”3″ Content=”Draw Major Gridlines” IsChecked=”{Binding ElementName=xAxis, Path=DrawMajorGridLines, Mode=TwoWay}”/>

… …

s:SciChartSurface.XAxis>
s:DateTimeAxis x:Name=”xAxis” VisibleRangeChanged=”OnXVisibleRangeChanged”>
/s:SciChartSurface.XAxis>

But I can not find or change the name property in SciStockChart. Could you please tell me what ElementName should I use? Or if there are other ways to achieve this. Thank you very much!

  • Dexin Wang asked 6 years ago
  • last active 6 years ago
1 vote
2k views

Hello,

I’m experiencing a strange phenomenon in which the (in-)visibility of the MajorGridLines of the X-and Y-Axis is only realized in the GUI after the SciChartSurface containing the Axis has been manually resized.

The SciChartSurface is embedded in our GUI like any ordinary WPF-element.

The visibility of the MajorGridLines is controlled via a C#-property:

public virtual bool BackgroundGridVisibility       
   {
              get {
                  return m_yAxis.DrawMajorGridLines;
              }
              set {       
                  m_xAxis.DrawMajorGridLines = m_yAxis.DrawMajorGridLines = value;
                  NotifyPropertyChanged();
              }       
   }
  

I tried various application of the UpdateLayout-Funktion after setting the visibility, but did not observe positive change.

Is there some other kind of “repaint”-function that can be used to update the visibility of the GridLines?

Thank you

Showing 5 results

Try SciChart Today

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

Start TrialCase Studies