Pre loader

Tag: TooltipLabel

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
14k views

Hi,

I have a vertical slice modifier. Currently whenever a series has a point near the marker, a kind of tooltip is displayed showing th value of that series at that point. I want to turn off this tooltip functionality (not sure if its called AxisLabel, SeriesValue or something else).

Ive tried setting various properties but I’m still getting the tooltip. Can someone point me in the right direction :

               <s:VerticalSliceModifier  s:SeriesValueModifier.IsSeriesValueModifierEnabled="False" ShowAxisLabels="False" >
                                    <s:VerticalSliceModifier.VerticalLines>
                                        <s:VerticalLineAnnotation 
                                            X1="{Binding ...}" 
                                            YAxisId="DefaultYAxis" 
                                            s:SeriesValueModifier.IsSeriesValueModifierEnabled="False"
                                            ShowLabel="False"
                                            />
                                    </s:VerticalSliceModifier.VerticalLines>
                                </s:VerticalSliceModifier>  
  • F W asked 9 years ago
  • last active 8 years ago
0 votes
8k views

Hi there
I have strange behavior with VerticalSliceModifier and ToolTipLabel.
Here we have line with x=88 and y=76.0
wring line Y value

Look at the data used as source for this series.
88 X value corresponds 11 index in the X values array, but there is other value under 11 index in the Y values array (77.3vs76):

X values
Y values

With using vs2015 Live Property Explorer you can see the current DataSeriesIndex = 10.

Actual current index

But if I zoom this chart the Y value becomes 77.3

After zoom value becomes OK

So what can I do with this problem?

Yury

0 votes
11k views

Using custom label provider I am able to format the cursor label, but still there is the name of the axis. I only want to show the value here, like “0,91” and remove the “X:” (see attached screenshots).

Thanks in advance.

override func formatCursorLabel(_ dataValue: SCIGenericType) -> String! {
    return "" // super.formatCursorLabel(dataValue)
}
1 vote
9k views

Hi all,

I would like to ask how to modify the label of the OHLC Chart in Android.
For example, in the attached screenshot, how to change the label “Highest” to “High” ? Thanks.

  • Ray Hung asked 7 years ago
  • last active 7 years ago
0 votes
5k views

Hi

I want to change to font name & font size for all modifier tooltips (CursrorModifier, RolloverModifier and so on )

I discovered that all tooltips use TextBlocks with style HintDataItemsStyle. This is its definition:

  <!--  Label used in cursors  -->
  <Style x:Key="HintDataItemsStyle" TargetType="TextBlock">
      <Setter Property="apc:RelativeSourceBinding.AncestorType" Value="r:TemplatableControl"/>
      <Setter Property="Foreground" Value="{Binding Path=(apc:RelativeSourceBinding.Ancestor).Foreground, RelativeSource={RelativeSource Self}}" />
      <Setter Property="FontWeight" Value="{Binding Path=(apc:RelativeSourceBinding.Ancestor).FontWeight, RelativeSource={RelativeSource Self}}" />
      <Setter Property="FontFamily" Value="{Binding Path=(apc:RelativeSourceBinding.Ancestor).FontFamily, RelativeSource={RelativeSource Self}}" />
      <Setter Property="FontSize" Value="{Binding Path=(apc:RelativeSourceBinding.Ancestor).FontSize, RelativeSource={RelativeSource Self}}" />
      <Setter Property="Margin" Value="{Binding Path=(apc:RelativeSourceBinding.Ancestor).Margin, RelativeSource={RelativeSource Self}}" />
  </Style>

So, I feel this would be easy to change font parameters just setting them to some parent (due to RelativeSourceBinding.Ancestor binding). But I cannot figure out which. I tried to change font size for series, for axes and even for surface – no result.

  • Vlad R asked 4 years ago
  • last active 4 years ago
1 vote
2k views

Hi,
the Tooltip from the rolloverModifier shows for the Open-Values the Label “Open”.

I would like to be able to change that. There might be serveral reasons for that. Maybe the shown data are not “openValues” or the word “open” needs to be translated into another language.

I managed to edit the title of a FastCandlestickRenderableSeries by setting a title and get it into the variable like this:

rolloverTitle = newtitle;
renderableSeries0.rolloverModifierProps.tooltipTitle = rolloverTitle;

unfortunately i did not find a way to set the name/label for the open-,low-,close-, or high-values of this Series.

Can someone give ma a hint how to do this?

0 votes
20k views

Hi

I’m having trouble making the RolloverModifier TooltipLabels stay inside the graphs canvas.

screenshot

As you can see on the left most graph the colored sqaures and some of the digits has fallen outside the graphs canvas.
Also what are the TooltipLabels rules for clustering together, and rules for which side of the RolloverMarker the labels should appear on?

Still having a problem here… After setting the ClipModifierSurface on the SciChartSurface to False the time axis no longer clips the TooltipLabels.
But the graph itself clips the TooltipLabels when the label gets to large.

How do I make the labels stay inside the graph? As there is a lot of free space to the right of the labels.

enter image description here

Showing 7 results

Try SciChart Today

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

Start TrialCase Studies