Hello,
I was trying to create a line chart with lots of gaps in it. All lines need to be two points only, with the same y values and x values representing time, with the next value as a NaN to divide the lines. When i did this, the chart started to respond in a weird way where points would disappear when zooming and not even show anything at certain parts.
I modified the example from the documentation in the section titled “Drawing Null points with NaN” as a FastLineRenderableSeries with my input and sharing it below.
The docs I looked at:
https://www.scichart.com/documentation/js/current/webframe.html#DrawingGapsInSeries.html
My Example:
https://codepen.io/Yiit-Arsoy/pen/ExBbBRQ
Is this the optimal way to achieve what I am trying to do here or should i be looking at an alternative solution? I would be trying to draw close to 1 million lines at least, with text annotations.
Thank you for your help.
- Yiğit Arısoy asked 3 days ago
- last active 2 days ago
Hello,
I have a problem with the 3D surface chart. I have used the 3D example from the Example Tutorial as an example. As soon as I make xSize and ySize larger than 128, a gap appears in the respective axes.
Is it possible that these sizes are limited? Or have I made a mistake?
In the attachment you will find the resulting pictures.
The good one has an xSize and ySize of 128 and the bad one 129.
- Willi Schüler asked 3 years ago
- last active 3 years ago
Hello,
I use a Scrollbar/Surface combination to have an overview over several RenderSeries. Since I need individual scaling on each Series I also add 1 YAxis per Renderseries
The problem is that (even when disabling everything drawing related to an axis) adding an axis adds 2 px of white space where the axis would be.
In the attached image you can see an example with 15 axes added.
Here’s the code adding the RenderSeries and the axis (we already tried so many things to make the whitespace disappear as you can see in “createNewAxis”):
public void AddSciRenderSeries(FastLineRenderableSeries renderableSeries)
{
if (OverviewChartSurface.RenderableSeries.Contains(renderableSeries))
return;
OverviewChartSurface.YAxes.Add(createNewAxis(renderableSeries.YAxisId));
OverviewChartSurface.RenderableSeries.Add(renderableSeries);
OverviewChartSurface.ZoomExtents();
}
private NumericAxis createNewAxis(string channelId)
{
NumericAxis scrollerYAxis1 = new NumericAxis();
scrollerYAxis1.AutoRange = SciChart.Charting.Visuals.Axes.AutoRange.Always;
scrollerYAxis1.DrawMajorBands = false;
scrollerYAxis1.DrawMajorGridLines = false;
scrollerYAxis1.DrawMajorTicks = false;
scrollerYAxis1.DrawMinorGridLines = false;
scrollerYAxis1.DrawMinorTicks = false;
scrollerYAxis1.DrawLabels = false;
scrollerYAxis1.BorderBrush = Brushes.Red;
scrollerYAxis1.FontSize = 0.1;
Trace.WriteLine("AxisOffset: " + scrollerYAxis1.GetAxisOffset());
scrollerYAxis1.Padding = new Thickness(0);
scrollerYAxis1.Margin = new Thickness(0);
scrollerYAxis1.BorderThickness = new Thickness(0);
scrollerYAxis1.Id = channelId;
return scrollerYAxis1;
}
What shall we do to remove the gap on the right?
Thanks for your help!
- Tony Richter asked 3 years ago
- last active 3 years ago
Hello
is there a way to set the padding (aka reduce the gap) between bars in a SCIFastColumnRenderableSeries?
I attach a screenshot of my current situation: I would like to have zero margin between columns.
I tried searching in the knowledge base but all the answers I found seem to refer to APIs not available in the iOS SDK
- SciChartSurface without paddings (https://www.scichart.com/questions/wpf/how-to-draw-a-pixel-x-millemeter)
- Reduce Chart Padding (https://www.scichart.com/questions/wpf/reduce-chart-padding)
.
There is not such class method in the iOS SDK called SciChartSurface.Padding
Thanks for your help
- Neybox Digital asked 5 years ago
- last active 5 years ago