SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

0 votes
24 views

I’m putting together a fairly simply column chart but my columns aren’t appearing how I want them to.

Basically, I’m creating 20 columns for each chart (picture below) and I’m getting various widths (despite setting UseUniformWidth to true and using the same DataPointWidth) and the first column isn’t being shown. The top chart, for example, should be a repeating pattern of red, green, blue, and purple.

Column Charts

Here’s how I’m building the ColumnRenderableSeriesViewModel and adding it to the HighPressureRenderableSeries…

XyDataSeries<int, double> dataSeries = new XyDataSeries<int, double>() { SeriesName = $"{modbus.Name} - {channel.Name}" };

ColumnRenderableSeriesViewModel series = new ColumnRenderableSeriesViewModel()
{
    Stroke = channel.Color,
    DataPointWidth = .1,
    UseUniformWidth = true,
    XAxisId = "ChannelsId",
    YAxisId = "PressureId",
    Fill = channel.ColorBrush,
    DataSeries = dataSeries,
    ZeroLineY = 0.0
};

dataSeries.Append(x: channel.Index, y: channel.Value); // channel.Index goes from 0 - 19

HighPressureRenderableSeries.Add(series);

And here’s the XAML for the High Pressure chart…

<sci:SciChartSurface ChartTitle="High Pressure" RenderableSeries="{sci:SeriesBinding HighPressureRenderableSeries}">
    <sci:SciChartSurface.XAxis>
        <sci:NumericAxis AxisTitle="Channels" Id="ChannelsId" DrawMajorBands="False" />
    </sci:SciChartSurface.XAxis>

    <sci:SciChartSurface.YAxis>
        <sci:NumericAxis AxisTitle="Pressure" Id="PressureId" DrawMajorBands="False" VisibleRange="0,25" VisibleRangeLimit="0,25" />
    </sci:SciChartSurface.YAxis>

    <sci:SciChartSurface.ChartModifier>
        <sci:ModifierGroup>
            <sci:RubberBandXyZoomModifier />
            <sci:ZoomExtentsModifier />
        </sci:ModifierGroup>
    </sci:SciChartSurface.ChartModifier>
</sci:SciChartSurface>

Any tips or advice would be appreciated. I’m sure I’m just missing something simple.

  • Greg Knox asked 5 days ago
  • last active 2 hours ago
0 votes
25 views

Hello ,

I have created a SimpleScatterChart3D application using the dll’s from SciChart Official Releases NuGet Feeds (myget) and when i plotted 20 thousand data points to the chart i am getting Access Violation Exception in SciChart.Charting.dll .

Can you please let us know how can i resolve this issue.

Thanks

0 votes
0 answers
28 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.

0 votes
37 views

I am trying disable AutoRange=”Always” property for SciChartOverview. As for now I see only one way, change SciChartOverview template. But VS generate wrong template for SciChartOverview, chart line gone, after template replacement (I am using “Edit Template” -> “Edit Copy” feature from VS designer mouse context menu )

Here is template:

<s:SciChartOverview.Resources>
    <Style TargetType="{x:Type s:SciChartOverview}">
        <Setter Property="FontSize" Value="20"/>
        <Setter Property="FontWeight" Value="Normal"/>
        <Setter Property="Background" Value="{Binding (s:ThemeManager.Theme), Mode=OneWay, RelativeSource={RelativeSource Self}}"/>
        <Setter Property="Foreground" Value="{Binding (s:ThemeManager.Theme), Mode=OneWay, RelativeSource={RelativeSource Self}}"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="Fill" Value="{Binding (s:ThemeManager.Theme), Mode=OneWay, RelativeSource={RelativeSource Self}}"/>
        <Setter Property="Stroke" Value="{Binding (s:ThemeManager.Theme), Mode=OneWay, RelativeSource={RelativeSource Self}}"/>
        <Setter Property="SelectedRange" Value="{Binding Axis.VisibleRange, Mode=TwoWay, RelativeSource={RelativeSource Self}}"/>
        <Setter Property="RenderableSeriesStyle">
            <Setter.Value>
                <Style TargetType="{x:Type s:FastMountainRenderableSeries}">
                    <Setter Property="Fill" Value="{Binding Fill}"/>
                    <Setter Property="DataSeries" Value="{Binding DataSeries}"/>
                    <Setter Property="Stroke" Value="{Binding Stroke}"/>
                </Style>
            </Setter.Value>
        </Setter>
        <Setter Property="RenderableSeriesType" Value="{x:Type s:FastMountainRenderableSeries}"/>
        <Setter Property="ScrollbarStyle">
            <Setter.Value>
                <Style TargetType="{x:Type s:SciChartScrollbar}">
                    <Setter Property="Orientation" Value="Horizontal"/>
                    <Setter Property="GripsLength" Value="25"/>
                    <Setter Property="Background" Value="Transparent"/>
                    <Setter Property="ViewportStyle">
                        <Setter.Value>
                            <Style TargetType="{x:Type Control}">
                                <Setter Property="Opacity" Value="0"/>
                            </Style>
                        </Setter.Value>
                    </Setter>
                    <Setter Property="NonSelectedAreaStyle">
                        <Setter.Value>
                            <Style TargetType="{x:Type Path}">
                                <Setter Property="Fill" Value="{Binding (s:ThemeManager.Theme), Mode=OneWay, RelativeSource={RelativeSource Self}}"/>
                            </Style>
                        </Setter.Value>
                    </Setter>
                </Style>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type s:SciChartOverview}">
                    <Grid x:Name="PART_Container">
                        <s:SciChartSurface x:Name="PART_BackgroundSurface" AnimateZoomExtentsCommand="" BorderThickness="0" Background="{TemplateBinding Background}" DebugWhyDoesntSciChartRender="False" Foreground="{TemplateBinding Foreground}" FontWeight="{TemplateBinding FontWeight}" FontSize="{TemplateBinding FontSize}" Padding="{TemplateBinding Padding}" RenderPriority="Normal" UseLayoutRounding="True" ZoomExtentsCommand="">
                            <s:SciChartSurface.ViewportManager>
                                <s:DefaultViewportManager>
                                    <s:DefaultViewportManager.Services>
                                        <Utility:ServiceContainer/>
                                    </s:DefaultViewportManager.Services>
                                </s:DefaultViewportManager>
                            </s:SciChartSurface.ViewportManager>
                            <s:SciChartSurface.YAxis>
                                <s:NumericAxis AutoRange="Always" DrawMajorGridLines="False" DrawMajorBands="False" DrawMinorGridLines="False" IsPrimaryAxis="True" TextFormatting="###E+0" UseLayoutRounding="True" Visibility="Collapsed">
                                    <s:NumericAxis.Services>
                                        <Utility:ServiceContainer/>
                                    </s:NumericAxis.Services>
                                    <s:NumericAxis.TickProvider>
                                        <s:NumericTickProvider/>
                                    </s:NumericAxis.TickProvider>
                                    <s:NumericAxis.TickCoordinatesProvider>
                                        <s:DefaultTickCoordinatesProvider/>
                                    </s:NumericAxis.TickCoordinatesProvider>
                                </s:NumericAxis>
                            </s:SciChartSurface.YAxis>
                            <s:SciChartSurface.YAxes>
                                <s:NumericAxis AutoRange="Always" DrawMajorGridLines="False" DrawMajorBands="False" DrawMinorGridLines="False" IsPrimaryAxis="True" TextFormatting="###E+0" UseLayoutRounding="True" Visibility="Collapsed">
                                    <s:NumericAxis.Services>
                                        <Utility:ServiceContainer/>
                                    </s:NumericAxis.Services>
                                    <s:NumericAxis.TickProvider>
                                        <s:NumericTickProvider/>
                                    </s:NumericAxis.TickProvider>
                                    <s:NumericAxis.TickCoordinatesProvider>
                                        <s:DefaultTickCoordinatesProvider/>
                                    </s:NumericAxis.TickCoordinatesProvider>
                                </s:NumericAxis>
                            </s:SciChartSurface.YAxes>
                        </s:SciChartSurface>
                        <s:SciChartScrollbar x:Name="PART_Scrollbar" Axis="{TemplateBinding Axis}" Height="{Binding ActualHeight, ElementName=PART_BackgroundSurface}" Style="{TemplateBinding ScrollbarStyle}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</s:SciChartOverview.Resources>

The main task for me, set fixed VisibleRange for YAxis.

0 votes
23 views

var lineData = new XyDataSeries<DateTime, double>();

if I have a XyDataSeries<DateTime, double> then I can get the sweeping animation to work. If I change the XyDataSeries to XyDataSeries<DateTime, int> it fails to produce the chart and gives an exception stating

SciChartSurface didn’t render, because an exception was thrown:
Message: Specified cast is not valid.

Stack Trace: at SciChart.Charting.Visuals.RenderableSeries.Animations.Transformations.Point2DSeriesTransformation1.SweepTransform(T pointSeries, Double currentProgress)
at SciChart.Charting.Visuals.RenderableSeries.Animations.Transformations.Point2DSeriesTransformation
1.O(IPointSeries D, Double I)
at SciChart.Charting.Visuals.RenderableSeries.Animations.SweepAnimation.Animate(IRenderPassData rpd, Double currentProgress)
at SciChart.Charting.Visuals.RenderableSeries.Animations.SeriesAnimationBase.OnRender(IRenderPassData rpd)
at SciChart.Charting.Visuals.RenderableSeries.BaseRenderableSeries.WFB(IRenderContext2D D, IRenderPassData I)
at A.IJ.T(ISciChartSurface D, RenderPassInfo I, IRenderContext2D J, Int32 M)
at A.IJ.M(ISciChartSurface D, RenderPassInfo I, IRenderContext2D J)
at A.IJ.RenderLoop(IRenderContext2D renderContext)
at SciChart.Charting.Visuals.SciChartSurface.DoDrawingLoop()

Is this possible or does yaxis have to be a double? If I use fade animation it works properly. Thanks.

  • John asked 6 days ago
  • last active 23 hours ago
0 votes
0 answers
17 views

I cannot get SCILinearGradientBrushStyle working on a donut chart. Only radial gradients work

Here is my code sample:

let segment = SCIPieSegment()
segment.fillStyle = SCILinearGradientBrushStyle(colorCodeStart: 0xff007aff, finish: 0x4D007aff, direction: .horizontal)
segment.value = 100.0
segment.title = "Segment"
donutSeries.segments.add(segment)

The segment just renders a flat color

1 vote
0 answers
30 views

Regarding Andrews comment on my question in this thread: https://www.scichart.com/questions/wpf/hittest-with-mvvm#sabai-entity-content-13177.

Thanks Andrew,
actually I need to know which nearest Y-value my XY line series has at the given VerticalLineAnnotationViewModel position. I need this value only for some calculation no need to show this on screen.

I found this post:
https://www.scichart.com/questions/wpf/current-y-value-of-annotation

But neither your answer Andrew nor the suggested solution of Alitec Developer works for me. The VerticalSliceHitTest() returns always a HitTestInfo with default values and the FindIndex() approach is not suitable for me because I have unsorted data.

0 votes
29 views

I am demoing the product and read the article on using a custom theme. I am trying to get the x and y axis to be white as well. Which property should I use for this?

  • John asked 7 days ago
  • last active 7 days ago
1 vote
42 views

NuGet package: 6.0.0.12596-beta (SciChart nightly)

When building a simple WPF NET Core 3.0 app, a native dependency is found to be missing on clean machines (vcomp140.dll).

The only change from the default WPF NET Core 3.0 template, is the addition of the option for Self-Contained-Deployment:

<RuntimeIdentifier>win-x86</RuntimeIdentifier>

(I build for win-x86, since NET Core does not have an Any-CPU equivalent.)

The whole project file for reference:

<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
  <OutputType>WinExe</OutputType>
  <TargetFramework>netcoreapp3.0</TargetFramework>
  <UseWPF>true</UseWPF>
  <RuntimeIdentifier>win-x86</RuntimeIdentifier>
</PropertyGroup>

<ItemGroup>
  <PackageReference Include="SciChart" Version="6.0.0.12596-beta" />
  <PackageReference Include="SciChart.DirectX" Version="6.0.0.12596-beta" />
</ItemGroup>

When doing this, a build will result in the target folder containing: the application, all of the application dependencies (other projects, NuGet packages, references, etc), and all of the needed NET Core run-time files (including a bunch of DLLs that are normally installed by a C++ redistributable, needed for the NET Core run-time to function).

The result is a target folder ranging from about 100 – 200 MB (only about 60 MB compressed) that is ready to run on any clean machine with a minimum OS version of Windows 7 SP1 (with a lot of updates), without having to install a NET run-time or any other system-level dependencies.

When run on a clean machine (I tested with virtual machines for Windows 7 SP1 and Windows 10, with no dev tools installed), a XAML parse exception occurs when the SciChartSurface tries to load the native dependency:

C:\Users\some_user\AppData\Local\SciChart\Dependencies\v6.0.0.12596\x86\VXccelEngine2D.dll

I ran dependency walker on this to find the following dependencies:

c:\windows\system32\D3D9.DLL
c:\windows\system32\D3D11.DLL
c:\windows\system32\D3DCOMPILER_47.DLL
c:\windows\system32\VCOMP140.DLL
c:\windows\system32\KERNEL32.DLL
c:\windows\system32\USER32.DLL
c:\windows\system32\GDI32.DLL
c:\windows\system32\ADVAPI32.DLL
c:\windows\system32\OLE32.DLL

All of these are present on the Windows 7 SP1 (with updates) virtual machine I was running, except for vcomp140.dll. I confirmed that copying the file over from my dev machine to the application folder on the virtual machine caused the error to disappear, and SciChart seems to be working fine now.

For now I will simply add this file as a reference DLL to my project and copy that over, but would it make sense to add this to one of the SciChart NuGet packages in this case? The only problem is you probably wouldn’t want to add it unconditionally, but somehow only for self-contained builds, and there just isn’t a lot of information about self-contained builds at the moment, or how to detect them or anything like that. I suppose a build-time check for the “RuntimeIdentifier” project property would work, as that always results in a self-contained build, but it’s honestly a little hard to say.

0 votes
87 views

Trying out the latest SciChart beta and my XML style license no longer works, and redirects me to get a JSON one, which I don’t seem to have

0 votes
45 views
 var annotationMax = new HorizontalLineAnnotation () {
                            Stroke = new SolidColorBrush (Colors.DarkRed),
                            HorizontalAlignment = System.Windows.HorizontalAlignment.Center,
                            Y1 = item.MaxBandwith,
                            Y2 = item.MaxBandwith,
                            X1 = item.FromWavelength,
                            X2 = item.ToWavelength,
                        };
                        var label = annotationMax.AddLabel ();

after last line label is null
???

0 votes
62 views

Hello SciChart,

I’m using SciChart:PerformanceHelper.EnableExtremeResamplers=”True” on my SciChart surface to display data with multiple gaps properly (NaN values), however the XPS output using ExportToFile does not work well and only renders the data to the first gap. Is there a workaround to this issue or how can it be fixed? Thank you.

Kind regards
Ondřej

0 votes
53 views

Hi there,

I am trying to generate a stacked columns chart to display the drivers’ stints during a moorsport race. The problem that I am unable to solve is related to the width of the columns of the graph. Although I am setting datapointwidth = 1.0, so that the column takes all the space, this only happen if I display one driver/column (see images). When adding new driver/columns, the columnwidth of every column shrinks and does not take up all the space (see images). It looks like the datapointwidh follows the next relationship :

Datapointwidth = 1 / Number of Columns

Is there anyway I can force the stackedcolumnrenderableseries to always have a datapointwidth of 1.0?

1 vote
76 views

Hi –

I upgraded to the Scichart WPF Nightly Beta v 6.0.XXX Build from October 22nd, 2019.

When I try running it, it says that I need a JSON license (not the XML), and directs me to go to scichart.com/profile.

However, I cannot find my JSON license keys.

Please help, as I cannot even start SciChart (and I cannot roll back).

0 votes
83 views

Hi,
I’m having trouble with YAxis VisibleRange and ZoomExtentsModifier. I want to change the display range of the Y axis dynamically by changing Min and Max of VisibleRange of YAxis from ViewModel. But when ZoomExtentsModifier is executed by double-click etc, Min and Max changes of VisibleRange are not reflected on the screen. If the screen is enlarged or reduced by means other than ZoomExtentsModifier, this state will be resolved and the changes will be reflected.
Please let me know any solution.

0 votes
68 views

Hi

I am trying to use StackedMountainSeries to implement the trade data as following pic.
enter image description here

But I noticed an unexpected behavior (incorrect.png).

The blank area is displayed near the center red point (which data value is 0).

How to fill the blank area? And what is the correct way to render the trade data as same as the attached pic?

Thanks,
David.

  • david xue asked 3 weeks ago
  • last active 2 weeks ago
0 votes
83 views

Hi,

I wanted to setup a heatmap colorpalette where ColorMaximum is dynamic.So heat values starts from 0 to unknown.
I want to have a colormap where heatvalue ranges like 0-10 should be mapped to color A, 10-50 by color B, 50-100 by color C and 100 onwards to maximum value by colorD. Is it possible?

Required ColorPalette as below
0-10 – ColorA
10-50 – ColorB
50-100 – ColorC
100-Infinity- ColorD

  • deepak b asked 3 weeks ago
  • last active 2 weeks ago
0 votes
75 views

Hello,

Does Scichart WPF 2D Pro supports DirectXRenderring feature? If not which product suports it?

  • deepak b asked 3 weeks ago
  • last active 2 weeks ago
0 votes
61 views

Could you tell me how to check all questions I posted in the past?

I have many questions I haven’t got answer yet. Please check if there are questions which ended with my question.

Thank you.

0 votes
71 views

If an observable collection changes with a “Reset” notification, the AxesBinding clears the surface’s axis collection but does not add the new axes from the bound source collection.

The problem seems to be, that SourceCollectionBase<TView, TViewModel> adds the axes from NotifyCollectionChangedEventArgs.NewItems, which is always empty if the action is “Reset” (this is enforced in the constructor of NotifyCollectionChangedEventArgs).

I already have implemented a workaround in my project, but it would be great, if you could fix this bug (and give me a free renewal, so that I can use the fixed version, just kidding).

Update:
SeriesBinding seems to have problems with “Reset” collection changes too. It works on the first “Reset” but not on the second one.

0 votes
69 views

How can I get the chart area width in pixel to calculate pixel per unit eg. pixel/mm?

  • Roland D asked 3 weeks ago
  • last active 2 weeks ago
0 votes
62 views

I followed the instructions in the tutorial “Custom ChartModifiers – Part 5 – Select and Drag a Data-Point” to create my program.

After moving data points by dragging using the mouse, I called IDataSeries.InvalidateParentSurface to redraw the chart. However, it doesn’t work. I also tried calling SciChartSurfaceBase.InvalidateElement() but doesn’t work either. The user needs to resize the Window in x-direction to redraw the chart. Is there anything I can do to make IDataSeries.InvalidateParentSurface working? Thanks.

  • Jerry Chen asked 3 weeks ago
  • last active 2 weeks ago
0 votes
80 views

I want to maintain shape of scichart minor and major grids as square as shown in image below how can I do that?

  • sci chart asked 4 weeks ago
  • last active 2 weeks ago
0 votes
80 views

Hello,

Let me first describe the issue we have and why I think a possible solution would be to catch the double tap event.

Our chart consists of 6 series. We have an X axis that shows timestamps and 5 Y axis’ for different data like pressure value, temperature, etc. which are of type double. Additionally under the chart we have a legend that displays these 5 Y axis series (one series per one Y axis) with ability to change the visibility of the series and axis.

The problem occurred when as an example, temperature values throughout are constant, e.g. 24.5. The line gets drawn and it is a stable line. Axis is also displayed. However, when a user does the double tap gesture on the chart surface, which usually resets the zoom extents, the axis that has static/non-changing values does some sort of re-initialize animation and after several of double tab gestures only axis label remains (minor and major ticks disappear).

If I could catch the double tap gesture event and override it I could for example say that if the data is static don’t do anything. However, I don’t know where this event is and how to override it.

Any help would be much appreciated.

Thank you.
Regards,
Paul.

  • pauzu asked 4 weeks ago
  • last active 4 weeks ago
0 votes
104 views

I would like to be able to use a triangle annotation that has a size parameter, so that I can add triangles of different sizes to chart.
I have seen the “Trade Markers” example that uses custom annotations defined by a path. But those annotations are a fixed size. How can I give them a size parameter?

I have tried this, but the point of the triangle doesn’t align with the X value, instead the triangle starts to the right of the X value.
public static CustomAnnotation UpTriangle(int x, double y, double size, Brush color, string axis)
//——————————————————————————————————————-
{
PointCollection myPointCollection = new PointCollection
{
new Point(0, 0),
new Point(1, 1),
new Point(-1, 1)
};

  return new CustomAnnotation()
  {
    X1 = x,
    Y1 = y,

    Content = new Polygon()
    {
      Points = myPointCollection,
      Height = size,
      Width = size,
      Stretch = Stretch.Fill,
      Fill = color,
      Stroke = color,
      StrokeThickness = 1,
    },
    YAxisId = axis
  };
}

Thank you for your help.

  • Steven M asked 4 weeks ago
  • last active 4 weeks ago
0 votes
81 views

Hi,
I am using scichart android I want Pinch zoom Modifier to Zoom equally on both X and Y Axis at the same time so that shape of grids always remain square as shown in image below .. How can I do that?

  • sci chart asked 4 weeks ago
  • last active 2 weeks ago
0 votes
83 views

I have some legends that have more items than the screen allows. Is there an ‘overflow’ property of some kind that can be set so the legend automatically shows a scrollbar when it contains more items than it can show?

  • Greg Knox asked 1 month ago
  • last active 4 weeks ago
0 votes
0 answers
92 views

In my SciChart InteractionToolbar, I have a slider that changes the stroke thickness of the selected series.

<TextBlock Text="Line Thickness:"/>
<wpfTool:IntegerUpDown Foreground="White" 
x:Name="Thickness" 
Minimum="1" 
Maximum="10" 
Value="{Binding SelectedSpectrum.StrokeThickness, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ValueChanged="Thickness_ValueChanged">
</wpfTool:IntegerUpDown>

This works correctly until a new series is selected. When a new series is selected, the previously selected series thickness returns to its default of “1”. Is there a way I can persist my StrokeThickness value even when the series is no longer selected?

    private void Thickness_ValueChanged(object sender, RoutedPropertyChangedEventArgs<object> e)
    {
        if ((sciChartSurface.RenderableSeries != null) && (e.NewValue != null))
        {
            var selectedSeries = sciChartSurface.RenderableSeries.Where(s => s.IsSelected == true).FirstOrDefault();
            if (selectedSeries != null)
            {
                selectedSeries.StrokeThickness = (int)e.NewValue;
            }
        }
    }
0 votes
129 views

I have two questions.

1.
I want text annotation witch is selectable but user can not move it. All User can do is delete.
Are there any good idea?

2.
How to catch the mouse over event of the AnnotationViewModel to be binded?

Thank you.

0 votes
97 views

Hi.

I tried to show bitmap file image to scichart(pic1).

I am using BoxAnnotation and set the image to background.

please check the actual image scichart showed(pic2)

It’s blurry. Are there any solution to sho bitmap as it is?

P.S How to see only questions I asked in the past?

0 votes
90 views

I’m using the Trial version of your product.

If I buy the product, can I hide the banner?

0 votes
0 answers
92 views

Hello.

I want to get a polar chart with 360 degree on x-scale with a constant tick step. I found how to do it with MajorDelta. My code is:

        <s:SciChartSurface.XAxis>
            <s:PolarXAxis Name="xAxis"
                          AxisTitle="Polar Chart"
                          BorderBrush="#93A3C5"
                          RotationAngle="90"
                          AutoTicks="False"
                          MajorDelta="30"
                          MinorDelta="10"
                          BorderThickness="0,2,0,0"
                          TitleFontSize="20"
                          VisibleRange="0,360"/>
        </s:SciChartSurface.XAxis>

And I got a 30-degree step of major ticks. But tick labels were lost. It is only on 0 and 240. I get all labels when I add some data in series and call sciChart.ZoomExtents() as in basic example. But initially, I don’t have any data to show. Moreover, I’m using MVVM and I need to control VisibleRange of Y axis, so ZoomExtents is unlikely.

The second issue with the polar chart – how to control VisibleRange of Y-axis? My code is:

            <s:PolarYAxis Name="yAxis" 
                          AutoRange="Never"
                          VisibleRange="{Binding YVisibleRange}"
                          />
        </s:SciChartSurface.YAxis>

But it is not working. I tried to bind Axes instead of VisibleRange only, but I got the same result. Any suggestions?

Thanks

0 votes
91 views

Hi,
I want to make edges of lines round instead of sharp ,
How can I do that?

  • sci chart asked 1 month ago
  • last active 1 month ago
0 votes
0 answers
101 views

Hi SciChart,

Our requirement is to have polygon shapes be drawn at runtime, and to have a “rich” tooltip display for the user when the user hovers over one of these polygons.

Using a CustomRenderableSeries, we’re able to plot polygons, each as its own CustomRenderableSeries. The tooltip displays on a mouse hover when the mouse is within a few pixels of the edge of polygon, but it does not display when the mouse hover is in the middle of a polygon.

We have also explored creating CustomAnnotations of these polygonal shapes – however, the CustomAnnotation object type does not have a ‘Path’ or ‘Points’ property as is shown in the arrow shapes declared in the XAML of the ‘Annotations are Easy’ WPF example. Because we won’t know the paths of these shapes until runtime, this does not meet our requirement.

Is there a way to have tooltips appear within polygons, or a way to assign ‘Path’ data to a CustomAnnotation? Or any other ChartModifier that might suit our needs?

Thanks!
Matt

0 votes
108 views

Could you tell me how to binding anotation from view to source to be created by AnnotationCreationModifier.

0 votes
111 views

Hi there,

I use SciChart v5.4.0.12119 trial to display FastLineRenderableSeries in my WPF application. It works with the default black background. But when I change the background to white (), the background gets messed up in white-black strips.

I tried to disable hardware acceleration. hwndSource.CompositionTarget.RenderMode = System.Windows.Interop.RenderMode.SoftwareOnly; It doesn’t help.

What could cause the issue?

Regards,
Jun

  • Jun Luo asked 1 month ago
  • last active 1 month ago
0 votes
117 views

Hello,

I have an app using scichart 2.1 that runs well. I am trying to migrate to use androidx libraries and am now encountering a crash when runnign setRuntimeLicenseKey(), as shown by the trace below. Any idea how to go about resolving this? Is this something that would be solved by upgrading my SciChart version?

I have minSdkVersion 23, targetSdkVersion 28

Thanks

2019-10-01 14:39:26.874 22834-22834/? E/AndroidRuntime: FATAL EXCEPTION: main
    Process: xx.yy.zz.myapplication, PID: 22834
    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/xx.yy.zz.myapplication-EOuCiwzmNiYVjQNAioMbKw==/base.apk"],nativeLibraryDirectories=[/data/app/xx.yy.zz.myapplication-EOuCiwzmNiYVjQNAioMbKw==/lib/arm, /system/lib, /system/vendor/lib]]] couldn't find "libcore.so"
        at java.lang.Runtime.loadLibrary0(Runtime.java:1011)
        at java.lang.System.loadLibrary(System.java:1657)
        at com.scichart.core.utility.NativeLibraryHelper.tryLoadLibrary(SourceFile:39)
        at com.scichart.core.licensing.LibsodiumNativeWrapper.<clinit>(SourceFile:29)
        at com.scichart.core.licensing.LibsodiumNativeWrapper.a(SourceFile:41)
        at com.scichart.core.licensing.Decoder.<init>(SourceFile:159)
        at com.scichart.core.licensing.Credentials.setRuntimeLicenseKey(SourceFile:55)
        at com.scichart.charting.visuals.SciChartSurface.setRuntimeLicenseKey(SourceFile:246)
        at xx.yy.zz.myapplication.MyApplication.initialiseSciChart(MyApplication.java:116)
        at xx.yy.zz.myapplication.MyApplication.onCreate(MyApplication.java:88)
        at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1125)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6062)
        at android.app.ActivityThread.-wrap1(Unknown Source:0)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1764)
        at android.os.Handler.dispatchMessage(Handler.java:105)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6944)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
0 votes
143 views

Hello,

I have a line series with 500k to 8 million data points and I use the StrokePaletteProvider to highlight certain peaks in different colors. But the colors only appear right at a certain zoom level, without zooming in it is a mixture of my default line color and the chosen StrokePaletteProvider color. Is there anything I can do about this?

  • Roland D asked 1 month ago
  • last active 2 weeks ago
1 vote
0 answers
87 views

Hi,

i am Swift Language

=>Senario
i am plotting live ECG Data on SciChart Surface. I have added 9 Graph on Storyboard in a UIScrollView for the Following things
-ECGI
-ECGII
-ECGaVL
-ECGV
-ECGIII
-ECGaVF
-ECGaVR
-Pleth
-RESP
Each of the above has data = [Int]
i had written a custom Class for Plotting Live Data

=>Class Specification
Inherited From UIView in a seperate xib which contains
– A Label For Name of the chart,
– A chart to draw data and a label
– for displaying frame buffer speed

=>Requirement a Single Chart (Chart have no modifier added onit)

=> ISSUE
Everything Works Fine until the scroll start, On Scrolling The chart stop Plotting Data Until the Scroll stops

  • Atiq Tahir asked 1 month ago
  • last active 1 month ago
0 votes
0 answers
86 views

i am Swift Language
let dragmodifier = SCIZoomPanModifier()
dragmodifier.clipModeY = .clipAtExtents

-OR-

How can i acheive this?

  • Atiq Tahir asked 1 month ago
  • last active 1 month ago
0 votes
0 answers
90 views

Using Following Code to Construct Sync Multiple Graphs

   let _rangeSync = SCIAxisRangeSynchronization()
    let _zoomExtentsModifierSync = SCIMultiSurfaceModifier(modifierType: SCIZoomExtentsModifier.self)
    let _pinchZoomModifierSync = SCIMultiSurfaceModifier(modifierType: SCIPinchZoomModifier.self)
    let _xDragModifierSync = SCIMultiSurfaceModifier(modifierType: SCIXAxisDragModifier.self)
    let _yDragModifierSync = SCIMultiSurfaceModifier(modifierType: SCIYAxisDragModifier.self)
    let _rolloverModifierSync = SCIMultiSurfaceModifier(modifierType: SCIRolloverModifier.self)

func getGraphs() -> [(String,CustomClassThatHoldsData)] {

    let keys = Array(historicChats!.data!.keys)
    var arrayOfTuples = [(String,CustomClassThatHoldsData)]()
    //
    for key in keys {
    arrayOfTuples.append((key, (self.historicChats?.data![key])!))
    }
    return arrayOfTuples
}



 func drawMultichartWithDefault() {

        for data in arrayOfGraphs {
        let chart = SCIChartSurface(frame: CGRect(x: 0, y: 0, width: self.stkCharts.frame.width-50, height: 200))
        initChart(chart, data.1)
        self.stkCharts.addArrangedSubview(chart)
        }

    }

fileprivate func initChart(_ chart: SCIChartSurface, _ data: VitalHistoryData) {
    SCIUpdateSuspender.usingWithSuspendable(chart) {
    let xAxis = SCIDateTimeAxis()
    xAxis.growBy = SCIDoubleRange(min: SCIGeneric(0.1), max: SCIGeneric(0.1))

    let yAxis = SCINumericAxis()
    yAxis.growBy = SCIDoubleRange(min: SCIGeneric(0.1), max: SCIGeneric(0.1))

    let dataSeries = SCIXyDataSeries(xType: .dateTime, yType: .double)
    let dataArray = data.getDataArray()
    for tuple in dataArray {
    dataSeries.appendX(SCIGeneric(tuple.1), y: SCIGeneric((tuple.0)))
    }

    let rSeries = SCIFastLineRenderableSeries()
    rSeries.dataSeries = dataSeries
    rSeries.strokeStyle = SCISolidPenStyle(color: UIColor.green, withThickness: 1.0)

    chart.xAxes.add(xAxis)
    chart.yAxes.add(yAxis)
    chart.renderableSeries.add(rSeries)
    chart.chartModifiers = SCIChartModifierCollection(childModifiers: [self._xDragModifierSync, self._yDragModifierSync, self._pinchZoomModifierSync, self._zoomExtentsModifierSync, self._rolloverModifierSync])

    self._rangeSync.attachAxis(xAxis)
    }
}

On 2 graphs it works quite fine but with the more then 2 graphs it starts lagging

0 votes
103 views

I would like to add scrollBar to SCINumericAxis for example xAxis.

I did find documentation:
https://www.scichart.com/documentation/v5.x/webframe.html#Scrollbars.html

But on iOS version, I can’t find numericAxis.Scrollbar is missing

0 votes
0 answers
89 views

I need to do some calculation for data in visible range after zoom. Is there any notification when gesture ends in SCIPinchZoomModifier? If not, then that means I have to build a custom zoom gesture modifier? If so could you show me how pinch zoom is done in SCIPinchZoomModifier so that I don’t need to build everything from scratch? Thanks

  • Haoran Xie asked 2 months ago
  • last active 2 months ago
0 votes
138 views

I added LineAnnotation like attached picture.

I can grab the end of line and change length of line.

But I can’t grab the line itself, it means I can’t move the line.

What do you think the problem?

0 votes
127 views

Is it possible to bind ImageSource like camera image to the scichart and to do zoom or span modifier?

Thank you.

0 votes
0 answers
117 views

I would like to add labels to contour lines as shown in this previous post.

https://www.scichart.com/questions/wpf/is-it-possible-to-do-contour-plots

I have created the heat map with contours, and now I want to programmatically add labels. To this end. I have created a contour series in my view model

        var contourSeries = new FastUniformContourRenderableSeries
        {
            DataSeries = dataSeries,
            ZMin = 0.0,
            ZMax = 50.0,
            ZStep = 4.0
        };

This is the same series as I have already plotted. I have looked through this object, trying to find the plotted contour lines, so I can calculate positions to put labels, but I have not found the data. Can you tell me how to extract the plotted contour curve data?

0 votes
133 views

Hi,
I am using Scichart android ,for Linking Chart Modifiers of Multiple charts I use these lines of code as shown below but it will not synchronize charts on X axis properley sometimes what is the reason ?
Is there is any other method to do that?

ModifierGroup chartModifiers2 = sciChartBuilder.newModifierGroup()
// Setting MotionEventsGroup
.withMotionEventsGroup(“SharedMotionEvents”).withReceiveHandledEvents(true)
.withLegendModifier().withShowCheckBoxes(true).withReceiveHandledEvents(true).build()
.withZoomPanModifier().withClipModeX(ClipMode.ClipAtExtents).withReceiveHandledEvents(true).build()
.withPinchZoomModifier().withReceiveHandledEvents(true).build()
.withZoomExtentsModifier().withReceiveHandledEvents(true).build()
.withRolloverModifier().withReceiveHandledEvents(true).build()
.build();

  • sci chart asked 2 months ago
  • last active 2 months ago
0 votes
0 answers
91 views

Hi,
I am using Sci Chart android I want to Share/Link Custom Modifier on Multiple Charts ,
How Can i do that?

0 votes
125 views

I was able to develop and run everything using the scichart alpha build from Jun 11th.
This includes SciChart2D, SciChart3D, with a minor error.
I was using .NET Core 3.0 Preview 6+, Visual Studio 16.3 Preview on a Win7 box.

However, the client wants to upgrade to Windows 10.
So I installed Visual Studio 16.3 (2019), and .NET Core 3.0 and I was able to build all the packages etc.

However, when launching the WPF part of the application, I was at first encountering AccessViolation exceptions in CreateRenderTarget().

I removed all my SharpDX components, and tried again. I was able to get around this problem by using a version of SciChart 6.0 greater than the Jun 11th alpha version – v. 6.0.0.12382-alpha.

I can now load SciChart2D package.

However, SciChart3D is now throwing null reference exceptions when loading. I’ve included the screenshot. This occurs even with the 6.0.0-beta version.

Please advise.

0 votes
148 views

Hello Team,

We are going through the Trial version of Sci Chart and we are specifically interested in 2D Scatter Chart and Simple Scatter Chart 3D.

For 2D Chart we tried to bind up-to 1 Million data points and it worked perfectly and we can zoom in 2D Scatter Chart to view each and every point.

When we tried the same for Simple Scatter Chart 3D, it was competitively slower than 2D Chart.

can we do the same in Simple Scatter Chart 3D?

Currently the whole chart is zooming in. Is there a way so that user can zoom in (XAxis , YAxis ,ZAxis ) individually so that each and every point in the chart can be View-able ?

Thanks,

Showing 1 - 50 of 3k results