Search found 50 matches

by Arction_LasseP
Wed Oct 09, 2019 7:22 am
Forum: LightningChart Ultimate WPF
Topic: Tooltip when hovering over Point
Replies: 3
Views: 103

Re: Tooltip when hovering over Point

Hello, Yes, this is possible. There are two options you can choose from: marker.MouseInteraction = false; This prevents all mouse interaction with the marker including moving it, mouse over highlighting and mouse events. marker.MoveByMouse = false; This only prevents moving the marker with mouse but...
by Arction_LasseP
Fri Sep 27, 2019 11:50 am
Forum: LightningChart Ultimate WPF
Topic: Problems with a square scatter chart
Replies: 3
Views: 148

Re: Problems with a square scatter chart

Hello Ewan, I double-checked our source code. I might have given a bit of misinformation here, apologies for that. The gridlines are actually overlaying. The issue is still the same though; the graph area cannot be equally divided between the segments, and due to rounding some of the segments are on...
by Arction_LasseP
Thu Sep 26, 2019 11:53 am
Forum: LightningChart Ultimate WinForms
Topic: Why my window and other components become smaller
Replies: 2
Views: 108

Re: Why my window and other components become smaller

Hello chin This happens most likely because of DPI awareness. Even if you are using WinForms platform, when LightningChart is created it loads some WPF libraries, and because of this the DPI awareness of the application is automatically modified. It changes to the WPF default of ‘system aware’, and ...
by Arction_LasseP
Thu Sep 26, 2019 11:33 am
Forum: LightningChart Ultimate WPF
Topic: Problems with a square scatter chart
Replies: 3
Views: 148

Re: Problems with a square scatter chart

Hello Ewan, This issue is most likely caused when LightningChart cannot divide the available graph size in pixels equally. The chart has a certain size in pixels, as does the graph area (the area limited by margins, where data is shown). You can actually check the exact sizes of these by calling _ch...
by Arction_LasseP
Tue Sep 24, 2019 8:53 am
Forum: LightningChart Ultimate WPF
Topic: Tooltip when hovering over Point
Replies: 3
Views: 103

Re: Tooltip when hovering over Point

Hello, Yes, this is very possible to do. We actually have a demo example or two which does something similar to this ("Scatter, point tracking" and "Value tracking with markers"). You could check those and their source code as they can be helpful in this case. Basically, you can have an SeriesEventM...
by Arction_LasseP
Tue Sep 24, 2019 7:42 am
Forum: LightningChart Ultimate WPF
Topic: How to display different colors of each point without using a PolarEvent Marker
Replies: 1
Views: 102

Re: How to display different colors of each point without using a PolarEvent Marker

Hello Jeonhui, EventMarkers use more resources than standard data points which is why they are not optimal to use when there are tens of thousands of points. Therefore, using just multicolored SeriesPoints is recommended. The problem is that PointLineSeriesPolar doesn't currently support individual ...
by Arction_LasseP
Mon Sep 16, 2019 12:02 pm
Forum: LightningChart Ultimate WPF
Topic: Displaying Spectrogram's Past Data
Replies: 2
Views: 617

Re: Displaying Spectrogram's Past Data

Hello, This should be possible to do, but might be a bit tricky. The problem is that due to technical reasons you cannot have a huge continuous IntensityGridSeries that you can just scroll back. Standard PCs nowadays use DirectX 11 with maximum texture dimension limited to 16384 which can prevent th...
by Arction_LasseP
Thu Sep 05, 2019 7:27 am
Forum: LightningChart Ultimate WinForms
Topic: Pasar datos de un Datagridview a Lightningchart
Replies: 5
Views: 963

Re: Pasar datos de un Datagridview a Lightningchart

Hello, It is difficult to say what exactly is the reason why you couldn't create a 3D chart. It is possible that you are lacking some property setting such as setting ActiveView to View3D. Here is the same WinForms test project, now converted to use a 3D-chart. _chart = new LightningChartUltimate();...
by Arction_LasseP
Mon Sep 02, 2019 12:57 pm
Forum: LightningChart Ultimate How-To's
Topic: Selecting point in FreeformPointLineSeries
Replies: 3
Views: 1104

Re: Selecting point in FreeformPointLineSeries

Hello, Clickable line is simpler to implement than clickable data point. You can just subscribe to MouseClick -event (or MouseDoubleClick) and have your code about what should happen inside the event. The event has a sender object, which can be used to identify the actual series that was clicked in ...
by Arction_LasseP
Thu Aug 29, 2019 6:47 am
Forum: LightningChart Ultimate WinForms
Topic: Pasar datos de un Datagridview a Lightningchart
Replies: 5
Views: 963

Re: Pasar datos de un Datagridview a Lightningchart

Hello, The exact same logic works with 3D graphs as well. The only differences are that you are using PointLineSeries3D instead of FreeformPointLineseries, and SeriesPoint3D instead of SeriesPoint when assigning new data points. This means you have to assign three values to a data point (X, Y, Z). T...
by Arction_LasseP
Tue Aug 27, 2019 8:32 am
Forum: LightningChart Ultimate WinForms
Topic: Pasar datos de un Datagridview a Lightningchart
Replies: 5
Views: 963

Re: Pasar datos de un Datagridview a Lightningchart

Hello, Apologies for not being able to speak/write Spanish. This should be possible by just reading the values of DataGridView cells in a for-loop for example, and assigning them as SeriesPoint X and Y values. Currently we do not have an example about this in VisualBasic .Net. However, I can attach ...
by Arction_LasseP
Fri Aug 16, 2019 12:29 pm
Forum: LightningChart Ultimate WPF
Topic: Legendbox not showing all Items
Replies: 2
Views: 582

Re: Legendbox not showing all Items

Hello, LegendBoxes have Layout -property, which could be used here. _chart.ViewXY.LegendBoxes[0].Layout = LegendBoxLayout.Horizontal; _chart.ViewXY.LegendBoxes[0].Layout = LegendBoxLayout.HorizontalRowSpan; The difference between these two is that Horizontal arranges the items into a single row, whe...
by Arction_LasseP
Fri Aug 09, 2019 9:59 am
Forum: LightningChart Ultimate WPF
Topic: Charts completely black when drawn while not visible
Replies: 4
Views: 869

Re: Charts completely black when drawn while not visible

Hi, It sounds like the same issue. After investigating, we have found out that this is a bug which was accidentally caused while fixing another bug in LightningChart v8.4.1 release, so it's present only in the newest versions. We have also found a fix to it, which will be included in our next releas...
by Arction_LasseP
Mon Aug 05, 2019 6:40 am
Forum: LightningChart Ultimate WinForms
Topic: What's the output unit of Spectrum Calculator?
Replies: 1
Views: 488

Re: What's the output unit of Spectrum Calculator?

Hello,

Since the X-axis shows frequency, we can assume that the Y-axis has units of power per frequency, for example W/Hz.
Of course, the purpose of these examples is above all to show what LightningChart is capable of doing.

Best regards,
Lasse
by Arction_LasseP
Thu Aug 01, 2019 7:51 am
Forum: LightningChart Ultimate WPF
Topic: Order of Series in Legend Box
Replies: 3
Views: 2618

Re: Order of Series in Legend Box

Hello, Unfortunately there currently isn't a way to change the order of the series in a LegendBox. The order is determined by the rendering order of the various series types in our source code, meaning that for instance BarSeries is always shown before StockSeries. So unless you have bought access t...
by Arction_LasseP
Thu Aug 01, 2019 7:47 am
Forum: LightningChart Ultimate WPF
Topic: Series Sorting
Replies: 1
Views: 370

Re: Series Sorting

Hello, Unfortunately there currently isn't a way to change the order of the series in a LegendBox. The order is determined by the rendering order of the various series types in our source code, meaning that for instance BarSeries is always shown before StockSeries. So unless you have bought access t...
by Arction_LasseP
Thu Aug 01, 2019 6:59 am
Forum: LightningChart Ultimate WPF
Topic: Legend checkbox select/unselect all
Replies: 1
Views: 366

Re: Legend checkbox select/unselect all

Hello, Currently there isn't a property that allows this. However, this is still possible to implement via CheckBoxStateChanged -event. First, create a series with no points so it will show up in the LegendBox but not in chart. Then inside the CheckBoxStateChanged -event check if the checkbox of thi...
by Arction_LasseP
Wed Jul 31, 2019 1:00 pm
Forum: LightningChart Ultimate WPF
Topic: Background LegendBoxes
Replies: 4
Views: 626

Re: Background LegendBoxes

Hi, About the remaining issues, the second one should be easy to solve, assuming that the "Meistereien" -text is the title of the X-axis. The following will disable the shadow: _chart.ViewXY.XAxes[0].Title.Shadow.Style = TextShadowStyle.Off; Title.Shadow.Style = TextShadowStyle.Off can also be use w...
by Arction_LasseP
Wed Jul 31, 2019 11:33 am
Forum: LightningChart Ultimate WPF
Topic: Bands - Mouse Interaction "Step"
Replies: 1
Views: 360

Re: Bands - Mouse Interaction "Step"

Hello, This is definitely possible, but requires somewhat complicated use of several events, as there currently isn't a property allowing this kind of "StepSize" -behaviour. Bands have MovedByMouse, ResizedByMouse and ValuesChanged -events which in theory could be used here, but at least in my tests...
by Arction_LasseP
Wed Jul 31, 2019 9:55 am
Forum: LightningChart Ultimate WPF
Topic: Background LegendBoxes
Replies: 4
Views: 626

Re: Background LegendBoxes

Hello, The background color and style of a LegendBox can be customized as follows: _chart.ViewXY.LegendBoxes[0].Fill.Style = RectFillStyle.ColorOnly; // LegendBox filled with color. A bitmap or transparent background can be set also _chart.ViewXY.LegendBoxes[0].Fill.GradientFill = GradientFill.Solid...
by Arction_LasseP
Wed Jul 24, 2019 6:53 am
Forum: LightningChart Ultimate How-To's
Topic: "Parallel Coordinates" Charts
Replies: 14
Views: 18099

Re: "Parallel Coordinates" Charts

Hello, If you check our ParallelCoordinates -demo source code, you can see that it adds the PointLineSeries to the chart inside AfterRendering -event, not in CreateChart() -method as in your example code. Usually it is better to add the series when creating the chart, but this particular example is ...
by Arction_LasseP
Tue Jul 23, 2019 7:52 am
Forum: LightningChart Ultimate How-To's
Topic: "Parallel Coordinates" Charts
Replies: 14
Views: 18099

Re: "Parallel Coordinates" Charts

Hello, We checked the code you posted and managed to get it working. The main issue that stopped it from working was that there is m_chart.BeginUpdate() inside the AxisY_RangeChanged -event but no EndUpdate(). This means that every time axis range is changed, the chart disables rendering, and since ...
by Arction_LasseP
Thu Jul 18, 2019 8:11 am
Forum: LightningChart Ultimate WinForms
Topic: Plots Overlapping with Segmented layout
Replies: 2
Views: 656

Re: Plots Overlapping with Segmented layout

Hello, The segments automatically merge if the chart sees that there isn't enough space to draw them. This behaviour cannot be completely disabled. However there are several properties in AxisLayout, which you can try to control segments and any Y-axis belonging to them. _chart.ViewXY.AxisLayout.Aut...
by Arction_LasseP
Wed Jul 17, 2019 1:47 pm
Forum: LightningChart Ultimate WPF
Topic: Charts completely black when drawn while not visible
Replies: 4
Views: 869

Re: Charts completely black when drawn while not visible

Hello, We investigated this issue and managed to reproduce it at least partially. In our test, instead of being black the chart didn't show up at all until mouse cursor was moved above it. Why this behaviour happens is still unclear and we have to investigate it further to determine if this is a bug...
by Arction_LasseP
Wed Jul 17, 2019 12:12 pm
Forum: LightningChart Ultimate WPF
Topic: Control zoom and pan on 2D contour
Replies: 7
Views: 7517

Re: Control zoom and pan on 2D contour

Hello Jose, PanningEnabled -property prevents panning the chart to the direction of the axis when dragging it with mouse (hold mouse right button and drag by default). It does not affect dragging the axis itself. Here are the properties which control various zooming and panning interactions. They ca...
by Arction_LasseP
Tue Jul 16, 2019 12:45 pm
Forum: LightningChart Ultimate WPF
Topic: UWP Support
Replies: 1
Views: 451

Re: UWP Support

Hello, Currently there is no UWP support for LightningChart so at the moment we cannot provide much support regarding it. However, we have recognized that there could be need for this. Therefore this is something we'll be investigating in the future (including the possibility to use existing WPF cha...
by Arction_LasseP
Mon Jul 08, 2019 9:55 am
Forum: LightningChart Ultimate WinForms
Topic: Overlapping SampleDataSeries
Replies: 2
Views: 727

Re: Overlapping SampleDataSeries

Hello, We have had issues similar to this earlier. Usually the cause for this kind of behaviour is that there are certain properties which don't work well together, in this case LimitYToStackSegment and RenderBehindSeries (GraphBordersOverSeries in LightningChart versions before 8.4). In any of thes...
by Arction_LasseP
Thu Jun 27, 2019 7:32 am
Forum: LightningChart Ultimate WPF
Topic: 'read-only state' error
Replies: 1
Views: 654

Re: 'read-only state' error

Hello, We tested this issue but coudn't reproduce the error message you described. However, the message most likely indicates that you are trying to update a frozen object (read-only state). Here are some threads about the same error message, which could be informative: https://stackoverflow.com/que...
by Arction_LasseP
Tue Jun 25, 2019 11:46 am
Forum: LightningChart Ultimate How-To's
Topic: AxisValueType.MapCoordsDegMinSecNESW and 180 Deg Longitude
Replies: 3
Views: 1008

Re: AxisValueType.MapCoordsDegMinSecNESW and 180 Deg Longitu

Hello James, We investigated this issue and found out currently there is no setting, which allows the map coordinates to behave correctly when crossing the International Date Line. Technically this requires the axis ranges to be something like 175->180->-180->-175 which is not possible. Instead, the...
by Arction_LasseP
Wed Jun 05, 2019 10:52 am
Forum: LightningChart Ultimate WPF
Topic: Intensity Grid Series panning
Replies: 2
Views: 911

Re: Intensity Grid Series panning

Hello, We investigated this issue but unfortunately couldn't replicate it. If the panning is set as follows... _chart.ViewXY.ZoomPanOptions.LeftMouseButtonAction = MouseButtonAction.Pan; _chart.ViewXY.ZoomPanOptions.PanDirection = PanDirection.Vertical; ...both PointLineSeries and IntensityGridSerie...
by Arction_LasseP
Tue Jun 04, 2019 9:14 am
Forum: LightningChart Ultimate WinForms
Topic: Marker + Mouse_Up event
Replies: 4
Views: 1156

Re: Marker + Mouse_Up event

Hi, I checked this again and found out that there is nothing wrong in your code, it is the LightningChart version that causes it. In some 8.2 versions MouseUp -event was bugged with some components such as annotations and event markers. This was fixed in later versions of LightningChart, which expla...
by Arction_LasseP
Mon Jun 03, 2019 12:35 pm
Forum: LightningChart Ultimate WinForms
Topic: Marker + Mouse_Up event
Replies: 4
Views: 1156

Re: Marker + Mouse_Up event

Hello, We tested the events with ChartEventMarkers, but weren't able to reproduce this issue. At least PositionChanged, MouseClick, MouseDown and MouseUp -events were working correctly. MouseUp -event triggers the moment a mouse button is released. It then checks if the mouse is above the component,...
by Arction_LasseP
Fri May 31, 2019 12:55 pm
Forum: LightningChart Ultimate WPF
Topic: Memory Error
Replies: 3
Views: 1040

Re: Memory Error

Hello, Thank you for reporting this issue. You are correct, as this does cause a memory leak. We have also detected similar issues earlier with HighLowSeries. Therefore this particular issue is fixed in our next release, in which the focus is on bug fixes. This patch is actually estimated to be rele...
by Arction_LasseP
Tue May 21, 2019 8:12 am
Forum: LightningChart Ultimate WPF
Topic: LegendBox Programmatically Select/Deselect Series
Replies: 3
Views: 1094

Re: LegendBox Programmatically Select/Deselect Series

Hello, Currently there is no property such as LegendBoxes[0].series.checked. The only exception is CheckBoxStateChanged -event, which has e.IsChecked -property, which tells the state of the clicked checkbox. This event, when subscribed to, triggers only when a checkbox in a legend box is clicked so ...
by Arction_LasseP
Mon May 20, 2019 9:25 am
Forum: LightningChart Ultimate WPF
Topic: Tooltip for series
Replies: 2
Views: 859

Re: Tooltip for series

Hi, Yes, this is possible without SeriesEventMarkers. One way to do this is to use an annotation and MouseOverOn and MouseOverOff - events. You can use these events to check if the mouse cursor is over a series and set annotation visibility true or false accordingly. Here is an example. Setting the ...
by Arction_LasseP
Thu May 16, 2019 12:42 pm
Forum: LightningChart Ultimate WPF
Topic: Legend with grouped series
Replies: 2
Views: 770

Re: Legend with grouped series

Hello, I think the easiest way to do this is to have an extra FreeformPointLineSeries with no points for each color code. Then you check inside CheckBoxStateChanged -event which color code series is turned on/off, and turn the visibility of the respective series true/false. Set ShowInLegendBox to fa...
by Arction_LasseP
Wed May 15, 2019 8:06 am
Forum: LightningChart Ultimate WPF
Topic: How to detect the collision between annotation and axis ?
Replies: 4
Views: 1240

Re: How to detect the collision between annotation and axis

Hi, One way to detect a collision between an annotation and an axis is to set the location of the annotation using AxisValuesBoudaries, and then compare the boundaries to axis ranges inside an event. Setting the annotation to use AxisValuesBoundaries: AnnotationXY anno = new AnnotationXY(_chart.View...
by Arction_LasseP
Tue May 14, 2019 11:23 am
Forum: LightningChart Bug Reports
Topic: System.Runtime.InteropServices.COMException when make chart
Replies: 7
Views: 6996

Re: System.Runtime.InteropServices.COMException when make ch

Hello, We haven't got many reports about this issue but we investigated this some time ago. However, we weren't able to reproduce it as this is not an error in LightningChart but in WPF in general. There is a bit old but still informative blog by Microsoft about these kinds of errors: https://blogs....
by Arction_LasseP
Mon May 06, 2019 9:25 am
Forum: LightningChart Ultimate How-To's
Topic: Jump and zoom to point
Replies: 2
Views: 1057

Re: Jump and zoom to point

Hello James, As your map is a SurfaceGridSeries3D, I'd say the easiest way to zoom to the selected location is to move the camera target in code according to the coordinates. You can use chart.View3D.Camera.Target.SetValues(x, y, z) to change the target of the camera (in this case the x- and z-value...
by Arction_LasseP
Fri May 03, 2019 7:21 am
Forum: LightningChart Ultimate WinForms
Topic: The last point disappears.
Replies: 3
Views: 1446

Re: The last point disappears.

Hello, We checked this issue and found out that this is currently how these properties behave together. LimitYToStackSegment prevents GraphBordersOverSeries and RenderBehindSeries working properly so it is a case of overlapping properties. Unfortunately there isn't much that can be done to prevent t...
by Arction_LasseP
Tue Apr 30, 2019 10:05 am
Forum: LightningChart Ultimate WinForms
Topic: The last point disappears.
Replies: 3
Views: 1446

Re: The last point disappears.

Hello, By default, ViewXY has a border around it. It is one pixel wide, so it hides series points/line under it if they happen to be in the same location. However, there is a RenderBehindSeries -property which allows data to be drawn over the border, when set true. It should be useful here. chart.Vi...
by Arction_LasseP
Fri Apr 26, 2019 8:20 am
Forum: LightningChart Ultimate WPF
Topic: How to get the location when using mouse wheel in chart?
Replies: 1
Views: 844

Re: How to get the location when using mouse wheel in chart?

Hello, There is e.GetPosition(_chart), which gets the current mouse position. However, this is only usable in events that are based on mouse actions (e is MouseEventArgs or MouseButtonEventArgs). Scroll and RangeChanged are different kinds of events and thus don't have this option. To get the mouse ...
by Arction_LasseP
Thu Apr 25, 2019 12:25 pm
Forum: LightningChart Ultimate WPF
Topic: How do I horizontally pan a Smith chart by code?
Replies: 3
Views: 1143

Re: How do I horizontally pan a Smith chart by code?

In Smith chart the data is plotted in real and imaginary values (Impedance = R + jX). Since Real values (R) can be seen as horizontal x-axis and Imaginary values (X) vertical y-axis, changing Zoomcenter to a different Real value without changing its Imaginary value causes horizontal pan. An alternat...
by Arction_LasseP
Thu Apr 25, 2019 7:43 am
Forum: LightningChart Ultimate WPF
Topic: How to use "RemoveFromBeginning" in non-bind?
Replies: 6
Views: 1354

Re: How to use "RemoveFromBeginning" in non-bind?

Hi, DeletePointBeforeX could be used if the datapoint.x == previouspoint.x case is handled. Here is an example to give you the idea: if (_chart.ViewXY.PointLineSeries[0].Points[0].X == _chart.ViewXY.PointLineSeries[0].Points[1].X) { _chart.ViewXY.PointLineSeries[0].Points[0].X -= 0.000001; } _chart....
by Arction_LasseP
Wed Apr 24, 2019 8:18 am
Forum: LightningChart Ultimate WPF
Topic: How to use "RemoveFromBeginning" in non-bind?
Replies: 6
Views: 1354

Re: How to use "RemoveFromBeginning" in non-bind?

Hello, RemoveFromBeginning -method is usable with collections but not with arrays. This is why it is only available in Semi-bindable and Bindable version, since Non-bindable prefers arrays. It also shouldn't be any faster that the other methods provided above, as in general handling arrays is faster...
by Arction_LasseP
Tue Apr 23, 2019 1:49 pm
Forum: LightningChart Ultimate WPF
Topic: How to set YAxes'range automaticly?
Replies: 2
Views: 789

Re: How to set YAxes'range automaticly?

Hello,

There is AutoYFit -option available in ZoomPanOptions, which regularly updates the y-axis range to show all the data. It could be useful here. AutoYFit is also configurable, for example the update interval can be changed.

Code: Select all

_chart.ViewXY.ZoomPanOptions.AutoYFit.Enabled = true;
by Arction_LasseP
Tue Apr 23, 2019 1:18 pm
Forum: LightningChart Ultimate WPF
Topic: How to use "RemoveFromBeginning" in non-bind?
Replies: 6
Views: 1354

Re: How to use "RemoveFromBeginning" in non-bind?

Hello, The data points are stored as an array, which works in a similar way as any array in C#. There are other ways besides DropOldSeriesData to remove the first data point. PointLineSeries (and HighLowSeries) has DeletePointsBeforeX -method which removes all points before given x value. _pointLine...
by Arction_LasseP
Thu Apr 18, 2019 8:41 am
Forum: LightningChart Ultimate WPF
Topic: How do I horizontally pan a Smith chart by code?
Replies: 3
Views: 1143

Re: How do I horizontally pan a Smith chart by code?

Hello, You can pan Smith chart programmatically by changing ZoomCenter as you have done. However, in Smith chart this property is defined in axis coordinates, in other words Real and Imaginary values. As changing Imaginary value will move chart upwards (or down), only Real value should be updated to...
by Arction_LasseP
Tue Apr 09, 2019 12:16 pm
Forum: LightningChart Ultimate How-To's
Topic: Selecting point in FreeformPointLineSeries
Replies: 3
Views: 1104

Re: Selecting point in FreeformPointLineSeries

Hello, The best way to do this is to use mouse events and SeriesEventMarkers as done in one of our demo examples, "Value tracking with markers" (ExampleDataPointTracking). You need to set a marker for each series point and then add a mouse event, for example MouseClick, to that marker. You can then ...
by Arction_LasseP
Mon Apr 08, 2019 9:42 am
Forum: LightningChart Ultimate WPF
Topic: Can't view Signal Processing examples?
Replies: 1
Views: 685

Re: Can't view Signal Processing examples?

Hello

Yes, this is license related. SignalReader component does not work in the examples if it is not included in the purchased package. We can arrange a trial period for it, so if you are interested in testing it, please contact our support about this topic.