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

1 vote
66 views

Hello,
I was following the tutorial for building my first Chart for adroid.
I Download the newes version SciChart_ Android_v4.4.* and copy the lib in my FIles.
Since this went way to quick i opend the lib and it was empty, no .aar files.
I downloadet the adroid .zip again and still no .aar files in lib.
Then i downloadet the 4.3 version and there they are: aar files!

My Question: how do i get those files of the latest version?

0 votes
0 answers
45 views

Hi, I would like to always show the tick label of the start and end of the visible range. Are there any ways to implement this in iOS?

0 votes
113 views

I would like to create an arc annotation as shown in the attached image in Scichart JavaScript.
Please guide me on what will be the best way.

1 vote
136 views

Hi,

I am facing a issue with RolloverModifier. I have multiple charts in single window. For some points the lines over the chart are missing.

Please find the attached images for some examples and the code for reproduce the issue. on the attachment you can see that the line on some chart is missing when mouse on left and right corner area of the chart

1 vote
0 answers
119 views

Is it possible to add color gradients to part of the mesh on an ObjectModel3D? We would love to use SciChart exclusively for our charts because they are easy to work with and almost all of the other charts in our software are SciChart charts.

Currently, we use LightningCharts for our 3D heads and the have a method call UpdateFill which applies a color gradient to part of the mesh. This shading is done using the geometry data generated from LightningCharts after the head is rendered. I didn’t see a similar method in SciChart but I don’t know that it is necessary because the geometry will be the same ever time the chart is rendered so we can just use the data generated from LightningCharts.

I’ve included a screenshot showing what I’ve been able to create with SciChart and a screenshot showing what the chart looks like currently with LightningCharts. The brain is a .obj file (along with the scalp and face but those are separate and don’t require any shading). The sensor locations (Fp1, Fp2, O1, and O2) are added using the ScatterRenderableSeries3D (I haven’t added annotations for the locations yet).

SciChart

LightningCharts

0 votes
135 views

@TypeScriptError Getting an 800A0404 error when opening any javascript file. This is happening in the Windows Script Host panel. Telling me that I have bad code, that’s not bad. This has been happening since upgrading my Java Version.

0 votes
116 views

Hi, I’ve found that there is no example of using SciChart in SwiftUI, the swift examples are using storyboard.

I’ve tried that, using SciChart in SwiftUI, and it worked. But I have some confusions about axis update and data update.

in SwiftUI, first I create a chartview struct as NSViewRepresentable, and in func makeNSView(context: Context) -> SCIChartSurface{} to initialize the chartview as any supported SciChart view type.

second, in func updateNSView(_ nsView: SCIChartSurface, context: Context){} to update the data and axis.

When updating axis(like visiablerange), every time I need call nsView.xAxes.clear() to remove axis first and then add axis again.

When updating data, every time I need to call nsView.renderableSeries.clear() to clear current plot data first and then call nsView.renderableSeries.add() to update the data.

My confusion is that is this the right way to do that? It seems not quite efficient.

  • Keyu Yan asked 3 weeks ago
  • last active 2 weeks ago
0 votes
0 answers
116 views

Hello,

This question is related to this discussion :
https://www.scichart.com/questions/wpf/export-chart-with-heatmapcolormap

I want to export a chart as XPS and have the HeatmapColorMap on the XPS. I put the HeatmapColorMap inside a CustomAnnotation. I had an issue with the ticks and labels not appearing on the printed XPS so I was advised to use a workaround :

public class SciChartSurfaceEx : SciChartSurface
{
    protected override SciChartSurfaceBase CreateCloneOfSurfaceInMemory(Size newSize)
    {
        // Grab custom annotation that stores HeatmapColormap on a real chart
        var originalColormapAnnotation = (CustomAnnotation)this.Annotations.Where(x => x.GetType() == typeof(CustomAnnotation)).FirstOrDefault();
        var originalColorMap = originalColormapAnnotation.Content as HeatmapColorMap;

        // Perform exporting functionality(serializing\deserializing)
        var cloned = (SciChartSurface)base.CreateCloneOfSurfaceInMemory(newSize);

        var newWindow = new Window();
        newWindow.Content = cloned;
        newWindow.Show();
        newWindow.Close();

        return cloned;
    }
}

Opening a new window is a workaround to prevent the HeatmapColorMap from disappearing after exporting, because it disappears otherwise.
This works fine when exporting a PNG at non-default size but it does not work when exporting as XPS. I get the following exception :

System.InvalidOperationException: ‘Specified element is already the logical child of another element. Disconnect it first.’

Why do I have this exception ? Is there any way around it ?
There are quite a few bugs when exporting charts, it would be nice to have them fixed.

Thank you in advance !

0 votes
133 views

I have a DataTemplate defined in my xaml file that I’d like to access from my ViewModel that I use to manage the layout and look of the chart legend

Here is the DataTemplate I have defined:

<DataTemplate x:Key="CustomLegendTemplate"
                  DataType="s:SeriesInfo">
        <Grid HorizontalAlignment="Right"
              VerticalAlignment="Top"
              Background="Transparent">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
            </Grid.ColumnDefinitions>

            <!--  Series icon, binds to SeriesInfo.Stroke  -->
            <Ellipse Grid.Column="0"
                     Width="7"
                     Height="7"
                     Margin="2 2 8 0"
                     HorizontalAlignment="Right"
                     VerticalAlignment="Top"
                     Fill="{Binding Stroke,
                                    Converter={StaticResource ColorToBrushConverter}}" />

              <!--Series name (SeriesInfo.SeriesName)-->  
            <TextBlock Grid.Column="1"
                           Width="15"
                           HorizontalAlignment="Right"
                           FontSize="10"
                           Text="{Binding SeriesName}" />

            <!--  Show or hide the 'Visibility Checkboxes'  -->
            <Grid Grid.Column="1"
                  Background="Transparent"
                  Visibility="{Binding DataContext.ShowVisibilityCheckboxes,
                                       ElementName=PART_LegendItems,
                                       Converter={StaticResource BooleanToVisibilityConverter}}">

                <!--  Binds to SeriesInfo.IsVisible to show and hide the series  -->
                <CheckBox Width="16"
                          Height="16"
                          HorizontalAlignment="Right"
                          VerticalAlignment="Top"
                          FontSize="10"
                          Foreground="{Binding Stroke,
                                               Converter={StaticResource ColorToBrushConverter}}"
                          IsChecked="{Binding IsVisible,
                                              Mode=TwoWay}">
                    <CheckBox.LayoutTransform>
                        <ScaleTransform ScaleX="0.7" ScaleY="0.7" />
                    </CheckBox.LayoutTransform>
                </CheckBox>
            </Grid>
        </Grid>
    </DataTemplate>

Now I’d like to access this template from my ViewModel to help manipulate my Legend the ViewModel code I have :

ModifierGroup legendInfo = new ModifierGroup(new LegendModifier()
            {
                ShowLegend = true,
                Orientation = Orientation.Vertical,
                Margin = new Thickness(0, 0, 0, 0),
                LegendPlacement = LegendPlacement.Inside,
                GetLegendDataFor = SourceMode.AllSeries,
                ShowVisibilityCheckboxes = true,
                FontSize = 8,
                Background = (Brush)AxisColor.ConvertFromString("Transparent"),
                ShowSeriesMarkers = true
            });

Then I add this to a ChartModifier = new ModifierGroup(XAxisDrag, YAxisDrag, ZoomExtents, RubberBandZoom, PanModifier, Rollover, legendInfo);

It is all working beautifully, but how can I reach for the xaml DataTemplate I have defined ?

Thank you for the excellent support

0 votes
115 views

Hello SciChart-Team,
we had the requirement to show the zero line when there are negative values ​​in the chart.
We noticed the following things, especially in connection with the main grid lines.
There are some side effects at certain sizes of the window:
When the gridlines are on(see screenshot 1):
1. Grid line and tick are not on the same level (Only for certain sizes)
2. The grid line and horizontal annotation line (green) are not aligned either (Only at certain sizes)
3. The axis line (defined via BorderThickness) is also not aligned with the grid line (regardless of the size of the control).And the bottom tick is never aligned with the major grid line

If the major grid lines are switched off, the zero annotation line is not aligned to the ticks for certain sizes of the control (see screenshot 2)

It looks like different algorithms were used to calculate the line position of the ticks, grid lines and line annotations.

The problem was detected on the monitor with 100% scaling. On a 4K monitor with scaling > 100%, the problem became even more apparent

Do you have any suggestion how to solve the problem?

I’ve attached a modified example project in which the behavior can be reproduced.

Regards
Silvester Schneidt

0 votes
0 answers
106 views

I have a SciChartLegend below my chart that was using the default item template in v6.4, and I could change the color of my legend labels simply by setting the Foreground property of the SciChartLegend. However, when I updated to SciChart 6.5.1, the font of my legend labels changed to all black. If I investigate my UI using Snoop, I see the following Binding error on the TextBlock.Foreground property for one of my legend items:

System.Windows.Data Error: 4 : Cannot find source for binding with reference ‘RelativeSource FindAncestor, AncestorType=’SciChart.Charting.Visuals.RenderableSeries.LegendPlaceholder’, AncestorLevel=’1”. BindingExpression:Path=Foreground; DataItem=null; target element is ‘TextBlock’ (Name=”); target property is ‘Foreground’ (type ‘Brush’)

I also tried v6.5.0, and this behavior did not occur – it is new in v6.5.1

Below is the definition of my legend.

<s:SciChartLegend x:Name="legend"
                  LegendData="{Binding ElementName=LegendModifier, Path=LegendData}"
                  Orientation="Horizontal"
                  BorderBrush="White"
                  FontSize="14"
                  BorderThickness="1"
                  HorizontalAlignment="Stretch"
                  VerticalAlignment="Stretch"
                  ShowVisibilityCheckboxes="True">
    <s:SciChartLegend.ItemsPanel>
        <ItemsPanelTemplate>
            <chartUtils:UniformWrapPanel Orientation="Horizontal"/>
        </ItemsPanelTemplate>
    </s:SciChartLegend.ItemsPanel>
</s:SciChartLegend>
0 votes
0 answers
100 views

Hello Andrew & Co.

I need some guidance in an attempt to add some required functionality to my SciChart application.

A requirement has been brought to my attention where a user wants to do a graph over lay from a different time snap shot . This is useful for comparison reasons, where the engineer wants to compare a previous successful execution of a process with a current running one.

  • One part of the solution is to save the dataseries info from a finite
    time period in the past.
  • Second part is that the overlaid trend (dataseries) need to be time
    XAxis independent but YAxis relative.

I am looking at two different scenarios let me see what you guys think:

  1. Overlaid historic static trend on existing chart surface
  2. Historic static trend in a new chart surface (smaller format) on the
    bottom of the current chart surface being displayed

How should I best approach such an implementation ? The application is using the MVVM pattern. I have adhered to the pattern pretty religiously so far

Hopefully that makes sense to describe what I am trying to accomplish.
Appreciate your support and expert guidance in this matter

Thanks
Anders

0 votes
157 views

Is there a recommended way to add a border to a chart’s surface (not the entire chart)? In v3.x the chart surface rendered its own “built-in” border, but after upgrading to v6.x it no longer does this.
In our products we usually disable all grid lines and bands too, so there is no “visual style” to help differentiate the chart surface from the surrounding page/window, hence the need for a border around it.

I’ve tried adding a border to the GridLinesPanelStyle but this has no effect. I can add a border to the SciChartSurface, but this gets rendered “on top”, obscuring any points or lines that sit on the very edge of the surface, e.g. in a line chart where several of the points might be Y=0, resulting in them being hidden behind the border’s bottom edge. Although this can be mitigated by adding a “GrowBy”, it’s not always practical/desirable.

0 votes
132 views

Do you have Fibonacci Arcs and Retracements in JavaScript charts? If yes could you please provide a sample to build them.

0 votes
121 views

The wick for the up candlestick go through the body while the down candlestick do not. How can I make the wick inside the body part disappear? I didn’t change any settings of stroke and fill style. Thanks.

let candlestickSeries = SCIFastCandlestickRenderableSeries()
candlestickSeries.dataSeries = dataSeries
candlestickSeries.yAxisId = "right"
0 votes
151 views

Is there a way to apply functionalities on signals as in average, slope, etc. ?

Thank you
Anders

0 votes
0 answers
143 views

I would like to create an annotation in which users can have a multi-line text annotation which can be looks like text-box

1 vote
0 answers
119 views

I’ve created a chart that generates a System.AccessViolationException every time it runs.

I’ve attached the minimal reproduction I could come up with. It seems to be related to the combination of a FastLineRenderableSeries with:
StrokeDashArray = new[] { 2.0, 2 },
IsDigitalLine = true
DataSeries with UserDefinedDistributionCalculator with ContainsNaN = true

because any other combination of those properties and it does not crash.

  • Eamon asked 4 weeks ago
  • last active 4 weeks ago
0 votes
0 answers
116 views

My question relates to a question from 8 years ago but since so much time has past I am wondering if there is now a solution?

Is it possible to offset the columns in a StackedColumnRenderableSeries so that the value they represent on the x-axis is aligned with either the left or right edge of the column instead of the centre?

i.e. for a series with uniform column width of 1 and a column with an x value of 1 I’d like the column to render between 0 and 1 rather than between 0.5 and 1.5

0 votes
161 views

Javascript Stock Chart CategoryAxis date display minute ,second and microsecond

How to display date format HH:MM:SS.ssssss .
Can you please help me,

  • sara uçar asked 4 weeks ago
  • last active 4 weeks ago
0 votes
0 answers
144 views

Can I get a scroll offset of a chart and scroll a horizontal recycler simultaneously with the same offset?

0 votes
157 views

Hi guys, I got problem that cursor modifier is not display full lines on x and y axis, ( also it breaks when browser zoom changes ) is there any solution now ?

0 votes
158 views

My application intermittently output the following exception log:

System.InvalidOperationException: Enumerator version is invalid
Location: hbq`1.ghm.uqc()

InvalidOperationException could be thrown when a collection is modified while iterating of IEnumerable collection

However, it usually outputs the following exception message:
“Collection was modified; enumeration operation may not execute.”
(NOT is “Enumerator version is invalid”)

When and under what conditions can this exceptions occur?

When an exception occurs, the call stack is as follows:

SciChart.Data.dll!hbq.ghm.uqc()
SciChart.Data.dll!hbq.ghm.MoveNext()
System.Core.dll!System.Linq.Enumerable.Any(System.Collections.Generic.IEnumerable source)
SciChart.Charting.dll!SciChart.Charting.Model.DataSeries.DataSeries<double, double>.GetIndicesRange(SciChart.Data.Model.IRange range, SciChart.Charting.Common.Extensions.SearchMode downSearchMode, SciChart.Charting.Common.Extensions.SearchMode upSearchMode)
SciChart.Charting.dll!SciChart.Charting.ChartModifiers.SeriesValueModifier.kly(SciChart.Charting.Visuals.RenderableSeries.IRenderableSeries gsv)
SciChart.Charting.dll!SciChart.Charting.ChartModifiers.SeriesValueModifier.OnParentSurfaceRendered(SciChart.Charting.Utility.SciChartRenderedMessage e)
SciChart.Core.dll!TinyMessenger.TinyMessengerHub.ptc<SciChart.Charting.Utility.SciChartRenderedMessage>.Deliver(TinyMessenger.ITinyMessage message)
SciChart.Core.dll!TinyMessenger.DefaultTinyMessageProxy.Deliver(TinyMessenger.ITinyMessage message, TinyMessenger.ITinyMessageSubscription subscription)
SciChart.Core.dll!TinyMessenger.TinyMessengerHub.ptg<SciChart.Charting.Utility.SciChartRenderedMessage>.hyi(TinyMessenger.TinyMessengerHub.ptd ayb)
mscorlib.dll!System.Collections.Generic.List<TinyMessenger.TinyMessengerHub.ptd>.ForEach(System.Action<TinyMessenger.TinyMessengerHub.ptd> action)
SciChart.Core.dll!TinyMessenger.TinyMessengerHub.fbs<SciChart.Charting.Utility.SciChartRenderedMessage>(SciChart.Charting.Utility.SciChartRenderedMessage axj)
SciChart.Core.dll!TinyMessenger.TinyMessengerHub.Publish<SciChart.Charting.Utility.SciChartRenderedMessage>(SciChart.Charting.Utility.SciChartRenderedMessage message)
SciChart.Charting.dll!sjd.urk(SciChart.Charting.Visuals.ISciChartSurface ccg, SciChart.Charting.Services.RenderPassInfo cch, SciChart.Drawing.Common.IRenderContext2D cci)
SciChart.Charting.dll!sjd.RenderLoop(SciChart.Drawing.Common.IRenderContext2D renderContext)
SciChart.Charting.dll!SciChart.Charting.Visuals.SciChartSurface.DoDrawingLoop()
SciChart.Charting.dll!SciChart.Charting.Visuals.SciChartSurface.hjp()
SciChart.Core.dll!SciChart.Core.Utility.CompositionSyncedDelegate.otw(object bdd, object bde)

0 votes
151 views

Hi,

I have a very simple iOS project in XCode 13 which uses Swift. The project has a tab bar controller with two tabs. The first tab brings up a sample home screen and the second tab initializes a blank SciChart graph.

I want to eventually be able to sometimes change what data is shown on the graph (via Bluetooth), and therefore I want to run my graph code every time the tab for the graph is selected. I put all my code for SciChart inside:

override func viewWillAppear(_ animated: Bool)

and this almost works fine, but declaring

let surface = SCIChartSurface() inside of override func viewWillAppear(_ animated: Bool)

seems to be causing some sort of memory leak. Switching between tabs often causes my app to crash and XCode reports the following error message: “Terminated due to memory issue”

Is there a better way to initialize my graph to prevent this memory leak? Or is there way to flush the “surface” variable from memory when transitioning between tabs to prevent this memory issue from occurring?

My small sample project is available here which demonstrates the memory leak when switching between the home screen tab and graph tab: https://drive.google.com/file/d/1mz88R3kKvoPqSGxFzohoHGDkseSwgHPh/view?usp=sharing

Any help greatly appreciated, thanks!

0 votes
175 views

I have a large data set that I can’t really load into memory at once so instead I am paging the data, grabbing only what I require plus a little buffer either side so that the graph always has something in it.

To implement paging I need to change the position at which the graph starts rendering, unfortunately it seems that it is not possible to change UniformHeatmapDataSeries.xStart as set in the constructor.

Is the only way around this to recreate the heatmap from scratch every time a new page is loaded or am I missing another trick?

0 votes
230 views

Hi,

When using splinerenderable series, there visual issues (as if the data points are unsorted) with the spline line at certain zoom levels.
If you zoom in past a certain point, the spline line corrects itself, showing that the data points are sorted in order.
See the attached screenshot and project replicating the issue.
This issue may be related to other issues currently active:

0 votes
0 answers
192 views

Hi,

Our current chart setup is as follows: 2 charts, each with 2 line series (~23k data points per line series – datetime [x-axis], double[y-axis]), data is added to the line series in real-time and all data is retained (never deleted). Both charts share a motion events group (pinchzoom, rollover, xaxisdrag, zoomextents).
Of the 2 Line series, each line series can be removed or added to the chart at random.

We noticed that an index out of bounds error occurs if you quickly add/remove a new line series (plus data) and start zooming in/out quickly, as much as possible. – easiest way to replicate issue. In some cases, if you zoom in with an already loaded lines series, the error still comes up.
See attached txt logs.

I considered completely disabling chart interaction (by disabling chart modifiers) before adding or removing a line series, however, this caused other issues such as vertical annotations being removed.

0 votes
187 views

Hi,

Our current chart setup is as follows: 2 charts, each with 2 line series (~23k data points per line series – datetime [x-axis], double[y-axis]), data is added to the line series in real-time and all data is retained (never deleted). Both charts share a motion events group (pinchzoom, rollover, xaxisdrag, zoomextents).

If you zoom in to the furthest zoom possible, the chart/app starts to act extremely sluggish, then crashes eventually. – see attached txt file for logs.

Questions:

  1. Is there a method to tackle this from a performance perspective and still enable zooming to the utmost limit?
  2. If 1.) is not possible, is it possible to enact a zoom limit on the charts?

Other solution suggestions are welcome.

0 votes
224 views

Hi All,

I am facing inconsistent issues like scichart graph freezing. Sometimes works fine, sometimes wont. From right side to left side graph flow is stopping. I am using a health care devise which has a amplitude 0 to 1, when i increase from 0 gradually graph still frozen, when i reach amplitude 1 graph flow starts.

We have crosschecked the values flowing in the code, values are flowing continuously to the chart.

For reference I am attaching screenshot.

So, I just want to know ,is there any attribute in scichart to know when graph is freezing? in the freezing time we can refresh the graph.

Please suggest if any other solutions are there..

Let me know if any other information required.

0 votes
207 views

Hi,

I’m building a heatmap with UniformHeatmapRenderableSeries I would like to know if it is possible to get some text inside each block.
I would like to display the block size when I zoom in like this https://www.scichart.com/example/android-heatmap-chart-with-text-example/.
Do you have any suggestions?

Best Regards,
Gabriel

0 votes
235 views

Hi
I am trying out JS SciChart based on the Blazor example you have posted more than a year ago.
I cannot get the auto scaling to work by code (the default behavior does auto scale once right after adding the data). Calling sciChartSurface.zoomExtents(); (or zoomExtentsX() and zoomExtentsY() after one another) does zoom into a very details portion of the graph.

Also (maybe related) the tooltip does not update when moving the cursor around, it always keeps the same data. I tried using CursorModifier as well as RolloverModifier, both having the same problem.

Attached the JS code and the c# files and a picture how this looks like after calling the autoScale() method.

Thanks for any help
Regards
Reto

0 votes
214 views

We are working on an android based ELD application. We are looking for a ELD graph. Is it possible to accomplish this using SCICHART?

0 votes
215 views

Error from chart in div chart1 Error: getNativeXValues is invalid for heatmap type series. Try getting or setting zValues instead
at UniformHeatmapDataSeries.BaseHeatmapDataSeries.getNativeXValues (BaseHeatmapDataSeries.js:430:1)

Help! Please!

0 votes
205 views

Is there an API of extension that would enable time-based average (e.g. average 10 minutes worth of data points) down-sampling of measurements?
Or is resorting to pre-filter provided data points the only option?

0 votes
228 views

Can someone please post an example or code for Print functionality in MVVM?

Thanks,
Naveen Mandava.

0 votes
229 views

Hello all,

I am trying to create multiple Y axes using below example. I am not able to render the left Y axis as per the data series. Any input would help fixing this issue. Please see the attached screenshot.

https://www.scichart.com/documentation/win/current/Tutorial%2008b%20-%20Adding%20Multiple%20Axis%20with%20MVVM.html

Thanks.
Naveen

0 votes
196 views

I have a strange padding in the end of the chart. I set drawLabels false and added annotations to it. And added makerPoint for the last point. So everything is clipped by this padding.

You can see this on the screenshot in the attachment

0 votes
243 views

X, Z, Y are 2D (m x n) arrays of the same size.

How do I plot this as a 3D Surface mesh or a 2D Contour? I created a XyzDataSeries3D but when I set it to a SurfaceMeshRenderableSeries3D, it does not plot anything. But it does plot when using ScatterRenderableSeries3D.

I am basically trying to replicate the surf(X, Y, Z), contour(X, Y, Z) function in Matlab.

Attached is a test data that contain the X, Z and Y 2D arrays of size (261 x 10). The zip file contains an Excel file which has three sheets X, Z and Y that contain the data.

The images are of the Surf plot, and the Contour plot generated using Matlab. I need to generate these plots using SciChart instead of with Matlab.

  • A Devadas asked 2 months ago
  • last active 2 months ago
1 vote
225 views

How can I rotate the axis titles in SciChat JS?

We want the the titles Fp1 and Fp2 to be rotated so they are horizontal on the screen instead of vertical.

enter image description here

0 votes
0 answers
222 views

Hi,
As title, is any way to reach this requirement?
when drag the annotation but not appear the selected style. like circle point and around broder.

0 votes
0 answers
212 views

My colleague wants to register a new user of SciChart, he always got stuck by the CAPTCHA stuff, and I tried on my computer, got the same issue, we only could see the CAPTCHA text , but no any input box beside or below the ‘CAPTCHA’.


I closed this question, sorry to bother you, we finally managed to register a user by using a virtual machine. Seems it is my company’s security policy which blocking it.

  • zhiyu chen asked 2 months ago
  • last active 2 months ago
0 votes
231 views

Hi,

I am selectively drawing colored point markers based off of the Dataseries’ Metadata. I do this by inheriting from the BasePointMarker base class and overriding the Draw method. I’m running into an issue because the IEnumerable points parameter represents the visible points within the viewport, but the List of Point Metadata seems to be for all points within the RenderableSeries. These counts will never match up unless every point in the RenderableSeries is visible within the chart viewport. This is problematic because a lot of the times, a user will be zoomed into a different area of interest of the chart, and the point markers will not be drawn accurately since the points and the corresponding Metadata will not match up.

So, is there a way to only get the metadata for the visible points in the chart? Or at least a way to figure out the starting index of where the visible points will match up to their corresponding metadata within the larger IPointMetadata list.

Thank you,

Jacob

0 votes
231 views

I want to format my labels after tapping a radio button. But the major labels with the “dd mm” pattern and the minor labels with the “HH:mm” pattern. If I check the radio button in the radio button group the labels will format with the others formats. It works with TradeChartAxisLabelProvider but I can’t handle it with my own formats. What I have to use?

0 votes
240 views

Is there a way to draw an svg formatted annotation onto a chart for WPF?

I have found references/examples for it in javascript here . . .

https://www.scichart.com/documentation/js/current/Tutorial%2006%20-%20Adding%20Annotations.html

but not for any other platform.

0 votes
249 views

Data format is

X-axis :- number and Y-axis : – datetime

1921,2022-03-18 00:00:00
1921,2022-03-18 01:00:00
1921,2022-03-18 02:00:00
1921,2022-03-18 03:00:00
1921,2022-03-18 04:00:00

this format data I want plot on Stacked Column Chart

  • Divyesh asked 2 months ago
  • last active 2 months ago
0 votes
316 views
  1. Big Sur 11.6.
  2. Monterey 12.2.1
  3. Catalina 10.15.7 (late 2013 model)
    ![enter image description here][1]

sciChart version 1.4.1611

If you open the chart in the Firefox browser, then, strangely enough, everything works.

Is it related to the version of the library?

0 votes
288 views

Hi,

We found that the part of our project that uses scichart does not work correctly on iOS12, and then we tried to open a browser on iOS12 to the scichart javascript demo webpage, and found that it did not work.

What is the minimum iOS version supported by javscript scichart?

0 votes
396 views

Hello, I just started evaluating JS 2D chart library and am running into an error (below) and don’t know what I should do to continue forward:

Error:

wasm streaming compile failed: TypeError: Failed to execute ‘compile’ on ‘WebAssembly’: Incorrect response MIME type. Expected ‘application/wasm’.

falling back to ArrayBuffer instantiation

failed to asynchronously prepare wasm: CompileError: WebAssembly.instantiate(): expected magic word 00 61 73 6d, found 3c 21 44 4f @+0

CompileError: WebAssembly.instantiate(): expected magic word 00 61 73 6d, found 3c 21 44 4f @+0

Could not load SciChart WebAssembly module.
Check your build process and ensure that your scichart2d.wasm, scichart2d.data and scichart2d.js files are from the same version

Uncaught (in promise) Could not load SciChart WebAssembly module.
Check your build process and ensure that your scichart2d.wasm, scichart2d.data and scichart2d.js files are from the same version


I am copying the scichart2d.data and scichart2d.wasm in my webpack config as follows (according to your tutorials):

config.plugins.push(
    new CopyPlugin({
        patterns: [
            // {
            //     from: 'src/index.html',
            //     to: '',
            // },
            {
                from: 'node_modules/scichart/_wasm/scichart2d.data',
                to: '',
            },
            {
                from: 'node_modules/scichart/_wasm/scichart2d.wasm',
                to: '',
            },
        ],
    })

I have since then done the following but to no avail:

  1. Restart my webpack-dev-server -> In chrome, “Empty cache and refresh”
  2. Delete my node_modules folder -> yarn install -> yarn start

Can someone please help me with this issue at an earliest convenience.

0 votes
243 views

What is the best way to form List with my formatted dates in the View Model and just put in my implementation of CategoryLabelProviderBase?

Can an AxisBase implementation help me in this case?

0 votes
236 views

I’m wondering how to add a DragListener to the YAxis in WPF so that I can tell when my YAxisDragModifier has been invoked. I tried adding a custom EventHandler to the SciChartSurface.YAxis like so: DragEnter=”YAxisDragModifier_DragEnter” but the method wasn’t forwarded any events. I also set ReceiveHandledEvents=”True” in my YAxisDragModifier, but that didn’t seem to help.

Showing 1 - 50 of 4k results