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
Hello,
I have the problem, that sometimes only one label is shown on the X-Axis even when there is space to show some more, than only one.
The property “IsLabelCullingEnabled” would show them all, but than it is ugly if there is not enough space.
So what can I do to have some more Labels shown?
In the Screenshots you can see that with only a few pixels more, more labels are shown, but the could have been also shown with less pixels (Especially Label “1” and “22” could have been shown).
- Nick Müller asked 5 years ago
- last active 5 years ago
I have a few problems that I’m trying to address with y-axis labelling.
- I am including a y-axis on the left side of my graph but want the text of the labels to be right-aligned. Each label uses two lines of text. How can I do that?
- I want the margin of the text to be a specific width so that I can line up the y-axis of multiple scichart surfaces that are stacked vertically. How can I set each of my scichart surfaces to use a particular margin for the y-axis labelling?
- The y-axis label text will wrap when I don’t want it to (see attached image — The text of the label should be “1m \n Left” and I am currently seeing “1m \n Lef \n t”). How do I turn off the wrapping of text on the y-axis?
———-
This is how I am currently implementing the y-axis:
NumericAxis(context).apply {
drawLabels = true
axisAlignment = AxisAlignment.Left
this.labelProvider = labelProvider
this.tickProvider = tickProvider
drawMajorBands = false
drawMajorTicks = false
drawMinorTicks = false
drawMajorGridLines = false
drawMinorGridLines = false
isLabelCullingEnabled = false
visibleRange = DoubleRange(
dataRange.first,
dataRange.second
)
autoRange = AutoRange.Never
tickLabelStyle = FontStyle(
TypefaceManager.obtainTypeface(context, CustomTypeface.PROXIMA_NOVA_REG),
context.resources.getDimension(R.dimen.results_screen_graph_labels_text_size),
Color.LTGRAY
)
}
- Marcela Guerra asked 3 years ago
- last active 3 years ago
From reading the material on the site I know how to do what I want to do in xaml:
<Style x:Key="AxisLabelStyle" TargetType="s:DefaultTickLabel">
<Setter Property="RenderTransform">
<Setter.Value>
<RotateTransform Angle="30"/>
</Setter.Value>
</Setter>
<Setter Property="HorizontalAnchorPoint" Value="Left"/>
</Style>
Now however my chart will be using two diffrent x-axis, one numeric and one with date and time. Both axis are defined in code:
_xAxisNum = new NumericAxis
{
...
};
_xAxisDat = new DateTimeAxis
{
...
};
InitializeComponent();
sciChartSurface.XAxis = _xAxisDat;
What code must I add to my x-axes to get the same result as the xaml above accomplishes? Or can I achieve what I want with a LabelProvider?
- Tomas Pettersson asked 9 years ago
- last active 9 years ago
Hi,
I have a VerticalLineAnnotation that can be dragged over the chart by clicking and dragging on the line itself. (See attached image). The problem is, whenever I put the chart in front of a user, they try to drag by clicking on the label (the blue label with the time in the image).
How can I make this label draggable like the line?
Thanks.
- Robert Evans asked 9 years ago
- last active 9 years ago
We have Scichart 2.32 version software. In this version, we are using DateTimeAxis format on XAxis. We are showing XAxis Labels in this Text Formatting as “yyyy-MM-dd HH:mm:ss”.
But now, we need to changing the TextFormatting of XLabels.
We need to show time representation of XLabels in Minutes format. We need to show only minute representation during the Time span in the live chart.
How can we achieve this TextFormatting in 2.32 version software? If not, can we achieve this Formatting in the newer versions?
- gamze asked 5 years ago
- last active 5 years ago
I’m using XyDataSeries<Timespan, double> to plot to my chart.
I want to show elapsed time at chart X-Axis label like below
ex) If Timespan value is 1day 2hour 30min 40sec
Default label style: 02:30:40
Label style I want: 26:30:40
How can I set like that?
- Hiroyuki Seki asked 4 years ago
- last active 4 years ago