Search found 141 matches

by Arction_LasseP
Fri Dec 29, 2023 11:54 am
Forum: LightningChart Feature Requests
Topic: Windows App SDK Support
Replies: 5
Views: 8641

Re: Windows App SDK Support

Hello Adam, Our current plans do not include WinUI3 version of the LightningChart library, since so far there has been very little demand for it. If you need WinUI3 charts, there is always an option to order a development work from us. See: https://lightningchart.com/development-work-for-data-visual...
by Arction_LasseP
Mon Nov 28, 2022 7:22 am
Forum: LightningChart Ultimate WPF
Topic: Change colour on LightningChart
Replies: 1
Views: 1043

Re: Change colour on LightningChart

Hello,

You can try changing the Border property.

Code: Select all

_chart.ViewXY.Border.Color = Color.White;
This changes the color of the orange border around the chart. There is also Border.Visible, which can be used to hide the whole border if needed.

Best regards,
Lasse
by Arction_LasseP
Mon Jul 18, 2022 7:10 am
Forum: LightningChart Ultimate WPF
Topic: How do I change the Y axis origin
Replies: 2
Views: 1375

Re: How do I change the Y axis origin

Hello, If I understood correctly, you want to base level of the bars to be something else that 0, for example 67.26 like in the second picture. This can be achieved via BaseLevel property for the BarSeries. barSeries.BaseLevel = 67.26; Other settings should be found in the demo examples such as Bars...
by Arction_LasseP
Wed Jun 29, 2022 10:07 am
Forum: LightningChart Ultimate WPF
Topic: Legend position setting
Replies: 8
Views: 3539

Re: Legend position setting

Hello, If you have multiple series that use color palette, it is often easier to just use a separate palette for each series, at least if the color range is different. In other words, if the color range for one series is 0-100 and for other series 0-500, using one palette for both series might not b...
by Arction_LasseP
Wed Jun 22, 2022 10:48 am
Forum: LightningChart Ultimate WPF
Topic: Legend position setting
Replies: 8
Views: 3539

Re: Legend position setting

Hi, What I mean by empty series as placeholder is that if you want to show series that are not in the chart the Legend Box belongs to, you can create an empty series with the same Title as the series in other chart. The Legend Box automatically shows all series in the chart unless ShowInLegendBox pr...
by Arction_LasseP
Tue Jun 21, 2022 11:20 am
Forum: LightningChart Ultimate WPF
Topic: Legend position setting
Replies: 8
Views: 3539

Re: Legend position setting

Besides the automatic positioning options (BottomRight, RightCenter etc.) there isn't that kind of docking option ready. However, it is most likely possible to built that yourself using existing methods and properties. How this is done depends on where exactly you want to position the Legend. Try mo...
by Arction_LasseP
Tue Jun 21, 2022 7:07 am
Forum: LightningChart Ultimate WPF
Topic: Legend box content truncated when resize
Replies: 1
Views: 1176

Re: Legend box content truncated when resize

Hello, Currently there isn't such option to make the contents of the Legend Box to fit to certain size. There is AutoSize property which when enabled, automatically resizes the Legend so that all of its contents fit into it, but this is pretty much the opposite of what you are looking for. Currently...
by Arction_LasseP
Tue Jun 21, 2022 6:54 am
Forum: LightningChart Ultimate WPF
Topic: Legend position setting
Replies: 8
Views: 3539

Re: Legend position setting

Hello, Yes there is. You can define the position of the Legend Box by setting its Position property to one of the pre-defined locations such as TopLeft, BottomRight or RightCenter, or to Manual, in which case you can use Offset to set its exact position. Offset is the screen coordinates relative to ...
by Arction_LasseP
Wed Jun 15, 2022 1:24 pm
Forum: LightningChart Bug Reports
Topic: LightningChart with Iris Xe Graphics
Replies: 2
Views: 11479

Re: LightningChart with Iris Xe Graphics

Hello,

Unfortunately we haven't got any information about this from Intel's side. Therefore, currently the best thing to do is keep the drivers up-to-date and/or follow the workaround instructions.

If we find some other workaround, we will inform our customers about it.

Best regards,
Lasse
by Arction_LasseP
Wed Jun 15, 2022 6:38 am
Forum: LightningChart Bug Reports
Topic: Unwanted view or graphic glitch?
Replies: 2
Views: 11289

Re: Unwanted view or graphic glitch?

Hello, We are not aware of any bug or glitch like this. If the exact same application has this problem on one user but not on many others, then it is most likely something in that computer. The first thing to check in these cases is the GPU. User should make sure its drivers are up-to-date, so check...
by Arction_LasseP
Thu May 19, 2022 7:33 am
Forum: LightningChart JS
Topic: Is it possible to customize lightningchart like this?
Replies: 1
Views: 6430

Re: Is it possible to customize lightningchart like this?

Hello, As mentioned in this topic https://forum.arction.com/viewtopic.php?f=31&t=2527 we recommend asking LightningChart JS related questions on other platforms such as StackOverflow. In any case, the short answers to your questions are: 1. Dashed lines are not yet supported, but we are planning...
by Arction_LasseP
Tue May 10, 2022 6:29 am
Forum: LightningChart Ultimate WPF
Topic: Segment Splitter in Normal Chart
Replies: 2
Views: 1593

Re: Segment Splitter in Normal Chart

Hello, This kind of Segment Splitter can be added in normal LightningChart as well. Technically, TradingChart is build over regular LightningChart library, therefore everything you see in TradingChart can also be done in the normal chart. The Segment Splitter is actually a ConstantLine object placed...
by Arction_LasseP
Tue Apr 19, 2022 6:40 am
Forum: LightningChart Ultimate WinForms
Topic: How to save fixed points?
Replies: 1
Views: 1443

Re: How to save fixed points?

Hello, As you have found out, DropOldSeriesData drops all data points that are out of visible range, and therefore is not very suitable for what you are trying to achieve. Fortunately, there is an alternative. You could use DeletePointsBeforeX() method, which automatically drops data points before g...
by Arction_LasseP
Thu Apr 14, 2022 12:20 pm
Forum: LightningChart Feature Requests
Topic: Windows App SDK Support
Replies: 5
Views: 8641

Re: Windows App SDK Support

Hello Doug, Migrating LightningChart to work with WinUI is probably not very difficult, of course some extensive testing is needed. One reason holding back these kinds of migrations is that it will increase the amount of coding and testing we need to do. Technically every new feature we do needs to ...
by Arction_LasseP
Wed Apr 13, 2022 6:35 am
Forum: LightningChart Feature Requests
Topic: Windows App SDK Support
Replies: 5
Views: 8641

Re: Windows App SDK Support

Hello At the moment LightningChart .NET is not compatible with WinUI3. For the start, LightningChart is based on Windows.UI.Xaml.Controls.ContentControl, while WinUI3 expects/requires something from Microsoft.UI.Xaml namespace. There could be other issues as well. Therefore, to make it compatible we...
by Arction_LasseP
Fri Jan 14, 2022 9:00 am
Forum: LightningChart Ultimate WinForms
Topic: Segment heights and minimum fixed value
Replies: 3
Views: 4437

Re: Segment heights and minimum fixed value

Hello Niels, GetGraphSegmentInfo().GraphHeight returns the height of the whole graph area where the data is drawn (the area limited by margins/axes). The value is in pixels. If you need to get the height of an individual segment, that can be done also via GetGraphSegmentInfo(). For example: var gsi ...
by Arction_LasseP
Mon Dec 20, 2021 11:28 am
Forum: LightningChart Ultimate WinForms
Topic: Chart events vs. annotation events
Replies: 3
Views: 4430

Re: Chart events vs. annotation events

Hello Niels, If you have subscribed to MouseDown/MouseClick events for both the chart and the annotation, they will both trigger. This cannot be prevented. However, there are several ways to prevent the code inside the chart's event to execute when an Annotation is clicked. -If you are using the sam...
by Arction_LasseP
Wed Dec 08, 2021 11:18 am
Forum: LightningChart UWP
Topic: BitmapImage in UWP
Replies: 3
Views: 14693

Re: BitmapImage in UWP

Hello Mike, I tried to reproduce the issue but couldn't do so. I created a separate test project which has chart in a StackPanel and a Bitmap marker, then called SaveToFileAsync. The saved image was correct. The only thing I can think of is the LightningChart version you are using. I was testing thi...
by Arction_LasseP
Thu Dec 02, 2021 8:50 am
Forum: LightningChart UWP
Topic: BitmapImage in UWP
Replies: 3
Views: 14693

Re: BitmapImage in UWP

Hello Mike, Bitmaps can be quite complicated, not only in LightningChart but in UWP general. Basically, there are two ways to get bitmaps working, depending on whether the target object is requiring a BitmapImage or a WriteableBitmap. Event markers use BitmapImages. To load and use the image, use Bi...
by Arction_LasseP
Fri Nov 26, 2021 9:29 am
Forum: LightningChart Ultimate WPF
Topic: Changed styling after update to 10.1.2.2
Replies: 5
Views: 3788

Re: Changed styling after update to 10.1.2.2

Hello, We cannot promise a fix for this issue soon, as we actually are in the middle of release process, and adding new fixes at this point could delay the release, especially when it is not a simple fix like in this case. If there is a fix, it will be included in the release after this one (time no...
by Arction_LasseP
Thu Nov 25, 2021 11:01 am
Forum: LightningChart Ultimate WPF
Topic: Changed styling after update to 10.1.2.2
Replies: 5
Views: 3788

Re: Changed styling after update to 10.1.2.2

Hello, We have received one report about a similar issue before. Unfortunately, this is quite mysterious as some of us can reproduce the issue under certain conditions, while for others the fonts are always working correctly. So far we haven't found any logic about when this is happening. There are ...
by Arction_LasseP
Wed Nov 24, 2021 8:44 am
Forum: LightningChart Ultimate WinForms
Topic: LineSeriesCursor and Z
Replies: 1
Views: 1675

Re: LineSeriesCursor and Z

Hello Niels, This is currently not possible. As you already found out, LineSeriesCursor can be behind all series or in front of all series. There is a workaround that could be used in some cases. You could set the cursor color to transparent and then add an additional line series to act as a cursor....
by Arction_LasseP
Mon Nov 22, 2021 7:38 am
Forum: LightningChart Ultimate WinForms
Topic: scroll goes over numbers when scroll on Yaxes is on the same side as axes
Replies: 1
Views: 1662

Re: scroll goes over numbers when scroll on Yaxes is on the same side as axes

Hello, This happens because the chart doesn't automatically adjust the margins to fit the Y-axis labels, title and the scrollbar. To make the scrollbar not to overlap the labels, you need to adjust its Offset property: scrollBar.Offset = new PointIntXY(20, 0); This will place the bar on the right si...
by Arction_LasseP
Fri Nov 19, 2021 11:40 am
Forum: LightningChart Ultimate WinForms
Topic: Core 3, .NET 5 and .NET 6 compatibility
Replies: 0
Views: 13106

Core 3, .NET 5 and .NET 6 compatibility

LightningChart is built primary for .NET framework, but is also compatible with the following .NET versions: • .NET Core 3.0 and 3.1 • .NET 5 • .NET 6 Notes when using the above: -There is an issue in LightningChart version 10.1.2.1, which prevents the chart from working properly in Core/.NET 5 and ...
by Arction_LasseP
Fri Nov 19, 2021 11:38 am
Forum: LightningChart Ultimate WPF
Topic: Core 3, .NET 5 and .NET 6 compatibility
Replies: 0
Views: 13173

Core 3, .NET 5 and .NET 6 compatibility

LightningChart is built primary for .NET framework, but is also compatible with the following .NET versions: • .NET Core 3.0 and 3.1 • .NET 5 • .NET 6 Notes when using the above: -There is an issue in LightningChart version 10.1.2.1, which prevents the chart from working properly in Core/.NET 5 and ...
by Arction_LasseP
Mon Nov 08, 2021 8:37 am
Forum: LightningChart Ultimate WPF
Topic: Position Label for Y axis?
Replies: 1
Views: 2109

Re: Position Label for Y axis?

Hello, There is no setting that can directly achieve that kind of label positioning. Therefore, some workaround have to be used. -Set axis color transparent and then position the axis manually so that the ticks are inside the chart and the labels outside. The downside of this method is that the axis...
by Arction_LasseP
Tue Nov 02, 2021 2:44 pm
Forum: LightningChart Ultimate WPF
Topic: Windows 11 support
Replies: 1
Views: 2141

Re: Windows 11 support

Hello, We have already completed the first tests with LightningChart .NET and Windows 11. News post about it can be found here: https://www.arction.com/news/windows-11-and-lightningchart-net-are-fully-compatible/ In short, LightningChart is compatible with Windows 11 and no issues came up during the...
by Arction_LasseP
Wed Oct 13, 2021 11:17 am
Forum: LightningChart UWP
Topic: UWP troubleshooting
Replies: 0
Views: 17456

UWP troubleshooting

UWP projects have some known issues. We list the most common issues and potential fixes for them here. These are often not related to LightningChart but to UWP in general. Therefore, the suggested fixes can work also in projects not related to LightningChart. Version 1903 not working -Might give err...
by Arction_LasseP
Fri Jul 30, 2021 6:25 am
Forum: LightningChart Bug Reports
Topic: Illegal action on a disposed object \\ null reference exception
Replies: 2
Views: 13971

Re: Illegal action on a disposed object \\ null reference exception

Hello, Do you have also StackTraces from those exceptions? It should come together in ChartMessage event handler. How reproducible are the exceptions. I don't remember anything relevant what we fixed already, but you can still try using 10.1 versions. Your chart info says that you created 12 charts ...
by Arction_LasseP
Wed Jul 21, 2021 7:44 am
Forum: LightningChart Ultimate WPF
Topic: Trial version recognition
Replies: 1
Views: 2133

Re: Trial version recognition

Hello, Most likely the license is not set properly. After purchasing a license, you should go to our customer portal (portal.arction.com) and download the .alf license file. Then use License Manager application to install it. After the license has been installed, the trial text should disappear. Det...
by Arction_LasseP
Thu Jul 08, 2021 7:11 am
Forum: LightningChart Ultimate WPF
Topic: How to change the background color and font color of the parallel coordinate chart
Replies: 3
Views: 2827

Re: How to change the background color and font color of the parallel coordinate chart

Hello, There are a couple of more axis grid related coloring settings under MajorDivTickStyle and MajorGrid. There are respective settings for minor ticks and grid as well, but at least the latter are disabled by default (you can show/hide them via Visible property). _chart.ViewXY.YAxes[0].MajorDivT...
by Arction_LasseP
Wed Jul 07, 2021 6:34 am
Forum: LightningChart Ultimate WPF
Topic: How to change the background color and font color of the parallel coordinate chart
Replies: 3
Views: 2827

Re: How to change the background color and font color of the parallel coordinate chart

Hello, Almost every object in LightningChart has Color, Fill or some property similar to those. These allow you to modify the colors of an individual component. You don't need to use themes for this. In fact, when setting a color theme, it overrides all manual color changes done so far. Therefore, y...
by Arction_LasseP
Tue Jul 06, 2021 7:16 am
Forum: LightningChart Ultimate WPF
Topic: Parallel Coordinate Chart I have a few questions.
Replies: 1
Views: 2038

Re: Parallel Coordinate Chart I have a few questions.

Hello, There is no limit on how many series can be added. You could add thousands of series if needed. Eventually, at some point you will run out of computer resources, for instance memory. However, 16 series should not cause this unless each series contains tens of millions of data points. Therefor...
by Arction_LasseP
Fri Jul 02, 2021 9:03 am
Forum: LightningChart Ultimate WPF
Topic: I don't want to change the y-axis range of a parallel chart by scrolling.
Replies: 1
Views: 2075

Re: I don't want to change the y-axis range of a parallel chart by scrolling.

Hello, There are several properties controlling axis scrolling and other actions that modify axis range. -AllowScrolling - when disabled, user cannot scroll the axis by dragging it with mouse. -AllowScaling - when disabled, user cannot rescale the axis by dragging the scale nibs at the ends of the a...
by Arction_LasseP
Mon Jun 28, 2021 9:14 am
Forum: LightningChart Ultimate WinForms
Topic: Point by point coloring in AreaSeries same as for PointLineSeries
Replies: 3
Views: 5929

Re: Point by point coloring in AreaSeries same as for PointLineSeries

Hello Mat, As mentioned above, CustomLinePointColoringAndShaping event is intended for PointLineSeries and FreefromPointLineSeries, and there fore does not affect the fill of AreaSeries or HighLowSeries. The only way to color specific x-axis ranges differently is to use multiple AreaSeries. There ar...
by Arction_LasseP
Wed Jun 23, 2021 8:53 am
Forum: LightningChart Ultimate WinForms
Topic: Refresh with residual shadows
Replies: 1
Views: 2091

Re: Refresh with residual shadows

Hello, We tried to reproduce the effect seen in the image but couldn't do so. The chart behaved correctly when the form (window) was resized. Therefore, we would need more detailed instructions to reproduce the issue, or even a small test project. One thing that can be tried is to subscribe to SizeC...
by Arction_LasseP
Mon Nov 30, 2020 10:42 am
Forum: LightningChart Ultimate WinForms
Topic: Update to version 10
Replies: 4
Views: 4511

Re: Update to version 10

Hello, We found out that there in fact was an error in our code regarding font creation. We managed to fix this issue along with other font related issues. This fix will be included in our next release (LightningChart version 10.1), though its release date has not yet been decided. Best regards, Lasse
by Arction_LasseP
Tue Nov 24, 2020 2:25 pm
Forum: LightningChart Ultimate WinForms
Topic: Update to version 10
Replies: 4
Views: 4511

Re: Update to version 10

Hello Michel, Thank you for the test project. You are correct, as it seems that there is a font size issue at least with Annotations unrelated to serialization. However, there is also a serialization issue, which can be avoided by creating the chart in code. This seems to be a different issue though...
by Arction_LasseP
Tue Nov 24, 2020 9:20 am
Forum: LightningChart Ultimate WinForms
Topic: Update to version 10
Replies: 4
Views: 4511

Re: Update to version 10

Hello Michel, We checked this issue and were able to reproduce it. In our tests the font size was reduced only in WinForms when creating the chart by dragging it from Visual Studio toolbox. This indicates a serialization issue with default fonts. We fixed many of these serialization cases in this re...
by Arction_LasseP
Mon Nov 23, 2020 8:59 am
Forum: LightningChart Ultimate WPF
Topic: Trading Chart: Programmatic Access To Hamburger Menu Items?
Replies: 2
Views: 3356

Re: Trading Chart: Programmatic Access To Hamburger Menu Items?

Hello Jeff, It might be tricky to access the hamburger menu directly. However, all the functionalities found in the menu can easily be called in code as well. Changing color-theme can be done by calling SetAppearance() method. _chart.SetAppearance(Appearance.Dark); Drawing Tool drawing can be instan...
by Arction_LasseP
Mon Nov 23, 2020 8:20 am
Forum: LightningChart Ultimate WinForms
Topic: Can I create a horizontal LineCursor
Replies: 2
Views: 3607

Re: Can I create a horizontal LineCursor

Hello Geoff, Currently there isn't a Horizontal Line Cursor with the same properties and functionalities as in Vertical Cursor. Though LineSeriesCursor's style can be changed to HairCrossTracking which draws both horizontal and vertical lines. However, the horizontal line cannot be dragged. There ar...
by Arction_LasseP
Fri Nov 20, 2020 8:25 am
Forum: LightningChart Ultimate WinForms
Topic: CustomLinePointColoringAndShaping - resulting line changes coloron mousover
Replies: 2
Views: 2966

Re: CustomLinePointColoringAndShaping - resulting line changes coloron mousover

Hello Geoff, I tried to reproduce this, but weren't able to do so. Therefore, this could either be a bug caused by some very specific combination of settings or some error in your code. You could also check our example "Multi-color line chart, event-driven" if not done that already. Color ...
by Arction_LasseP
Wed Nov 18, 2020 7:34 am
Forum: LightningChart Ultimate WinForms
Topic: StockSeriesData
Replies: 1
Views: 2688

Re: StockSeriesData

Hello Michel, Yes, it is possible to show stock data every minute. StockSeriesData structure also accepts DateTime objects, allowing you to set hours, minutes and seconds as well. For example: StockSeriesData[] data = new StockSeriesData[] { new StockSeriesData(new DateTime(2010, 09, 01, 10, 0, 0), ...
by Arction_LasseP
Fri Nov 13, 2020 9:43 am
Forum: LightningChart Ultimate WinForms
Topic: LightningChart totally black
Replies: 6
Views: 6143

Re: LightningChart totally black

Hello, We investigated this issue more, and possibly were able to reproduce it. Is the following what is happening in your application when using CreateParams? When the app is started WinForms controls such as buttons are drawn but the chart remains black (left image below). After a short time, the ...
by Arction_LasseP
Mon Nov 02, 2020 9:58 am
Forum: LightningChart Ultimate How-To's
Topic: Problem in switching dynamically the colorTheme property
Replies: 3
Views: 14925

Re: Problem in switching dynamically the colorTheme property

Hello, This is a known issue. Currently, you can't set ColorTheme properly in xaml because of the creation order of chart components. Views such as ViewXY are created with default color settings after the chart itself has been created in the xaml. Therefore the ColorTheme is overridden by the defaul...
by Arction_LasseP
Mon Nov 02, 2020 8:59 am
Forum: LightningChart Ultimate WPF
Topic: Trading Chart: Transparent Background On Tools Menu
Replies: 1
Views: 2822

Re: Trading Chart: Transparent Background On Tools Menu

Hello Jeff, We haven't seen transparent menu in our tests; it has always been white. Therefore, it is very possible that the Material Designs you are using are causing this. Currently there is no built-in property to change the background color of the hamburger menu (or the search bar). This has to ...
by Arction_LasseP
Wed Oct 28, 2020 7:18 am
Forum: LightningChart Ultimate WPF
Topic: Trading Chart: Remove Horizontal Scroll Bar Dotted Line When In Focus?
Replies: 1
Views: 2638

Re: Trading Chart: Remove Horizontal Scroll Bar Dotted Line When In Focus?

Hello Jeff, The dotted line around the scrollbar marks that the bar has focus, and keys controls can be used to move it. Therefore, the correct options can be found KeyControlFocus property. There is no option to turn off the line, but you can change its color to transparent. horizontalScrollBar.Key...
by Arction_LasseP
Mon Oct 19, 2020 8:34 am
Forum: LightningChart Ultimate WPF
Topic: Trading Chart: Horizontal Scroll Bar Layered Over X Axis Labels
Replies: 3
Views: 4171

Re: Trading Chart: Horizontal Scroll Bar Layered Over X Axis Labels

Hello Jeff, The height of the axis labels, as well as the interactive axis area, are fixed. The axis area height (between the graph and the time range buttons) can be read via: double axisThickness = _chart.GetInternalChart().ViewXY.XAxes[0].AxisThickness; The X-axis labels have a fixed height of 15...
by Arction_LasseP
Fri Oct 16, 2020 8:59 am
Forum: LightningChart Ultimate WPF
Topic: Trading Chart: Horizontal Scroll Bar Layered Over X Axis Labels
Replies: 3
Views: 4171

Re: Trading Chart: Horizontal Scroll Bar Layered Over X Axis Labels

Hello Jeff, If that is LightningChart's own scrollbar component (HorizontalScrollBar), you can change its position via Alignment and Offset properties. For example: HorizontalScrollBar hsb = new HorizontalScrollBar(_tradingChart.GetInternalChart()); hsb.Alignment = HorizontalScrollBarAlignment.Below...
by Arction_LasseP
Fri Oct 16, 2020 8:50 am
Forum: LightningChart Ultimate WPF
Topic: Trading Chart Time Range Selection: Click Notifications?
Replies: 1
Views: 2865

Re: Trading Chart Time Range Selection: Click Notifications?

Hello Jeff, Currently, the easiest way to do this is to subscribe to RangeChanged -event for the internal X-axis. As the name implies, this event triggers when you change the axis range, also when using the time range buttons. Inside the event you can do whatever you like, for instance check the cur...
by Arction_LasseP
Wed Oct 14, 2020 1:17 pm
Forum: LightningChart Ultimate WinForms
Topic: LightningChart totally black
Replies: 6
Views: 6143

Re: LightningChart totally black

Hello, As mentioned, a totally black chart can occur if there are some references missing. Our User's Manual chapter 29.1 has a complete list of references. When developing, not necessarily all of these files are needed, for example if DirectX -files can already be found already somewhere in the mac...
by Arction_LasseP
Wed Oct 14, 2020 7:52 am
Forum: LightningChart Ultimate WPF
Topic: Exception in chart
Replies: 3
Views: 4214

Re: Exception in chart

Hello,

Yes, we received them. I believe my colleague Kestutis took a look at them and sent you an answer to the e-mail you used to send the files.

Best regards,
Lasse
by Arction_LasseP
Tue Oct 13, 2020 8:55 am
Forum: LightningChart Ultimate WPF
Topic: TradingChart: Open Interest and Volume Indicators In Same Segment?
Replies: 3
Views: 4020

Re: TradingChart: Open Interest and Volume Indicators In Same Segment?

Hello Jeff, Bollinger Band and Moving Averages are by default set to be in the same segment as the trading data, as that is where they usually are shown in trading applications, and also because they share the same Y-axis price range. No workaround was used for them though the segment they belong to...
by Arction_LasseP
Fri Oct 09, 2020 11:04 am
Forum: LightningChart Ultimate WPF
Topic: Exception in chart
Replies: 3
Views: 4214

Re: Exception in chart

Hello,

You can try sending them via e-mail to our technical support at [email protected].

If they are still not coming through we can think of some kind of dropbox solution, but try the e-mail first.

Best regards,
Lasse
by Arction_LasseP
Thu Oct 08, 2020 9:36 am
Forum: LightningChart Ultimate WPF
Topic: Add decimal place
Replies: 7
Views: 10171

Re: Add decimal place

Hello, You could check if FormatValueLabel -event works in your case. The logic inside this event is applied to each axis label. I don't think you need to apply logic for each value and range separately. Instead, you could for example count the number of decimals in the label and call Math.Round() b...
by Arction_LasseP
Wed Oct 07, 2020 9:15 am
Forum: LightningChart Ultimate WPF
Topic: TradingChart: Open Interest and Volume Indicators In Same Segment?
Replies: 3
Views: 4020

Re: TradingChart: Open Interest and Volume Indicators In Same Segment?

Hello Jeff, Currently, this is not directly supported. However, segment handling in general (showing/hiding segments, reorganizing them, changing indicator properties etc.) is something we are planning to improve in the next releases (not in LightningChart version 10 coming in a week or two). Option...
by Arction_LasseP
Wed Oct 07, 2020 8:07 am
Forum: LightningChart Ultimate WPF
Topic: Add decimal place
Replies: 7
Views: 10171

Re: Add decimal place

Hello, I believe the easiest way to control the number of decimals is via LabelsNumberFormat. It affects all axis labels so it only has to be set once. It works if AutoFormatLabels is disabled. _chart.ViewXY.XAxes[0].AutoFormatLabels = false; _chart.ViewXY.XAxes[0].LabelsNumberFormat = "0.0&quo...
by Arction_LasseP
Wed Sep 30, 2020 1:49 pm
Forum: LightningChart Ultimate WinForms
Topic: LightningChart totally black
Replies: 6
Views: 6143

Re: LightningChart totally black

Hello Harry, We tried to reproduce this issue with the test project you shared, but couldn't produce a situation where the chart remained completely black. There are two forms in the project, ReadData and Form1. Both work with CreateParams added. ReadData is first black, then the chart is shown. Rea...
by Arction_LasseP
Wed Sep 23, 2020 12:42 pm
Forum: LightningChart Ultimate How-To's
Topic: Adding image annotation
Replies: 1
Views: 10072

Re: Adding image annotation

Hello, Either Annotations or SeriesEventMarkers can be used to achieve this, as both accept bitmaps as an fill option. The main difference is that SeriesEventMarkers are tied to a series, in other words you also need to have for example a PointLineSeries in the chart. Furthermore, Annotations are a ...
by Arction_LasseP
Fri Sep 18, 2020 8:18 am
Forum: LightningChart Ultimate WinForms
Topic: lightningChart license
Replies: 1
Views: 2898

Re: lightningChart license

Hello, Student licenses work similarly to regular licenses. They can be activated/deactivated via License Manager (should be automatically installed on your machine when installing LightningChart SDK). Our User's Manual chapter 4 has detailed instructions about this. https://www.arction.com/wp-conte...
by Arction_LasseP
Fri Sep 11, 2020 8:30 am
Forum: LightningChart General Q&A
Topic: Lightning Chart integration in unity3d
Replies: 1
Views: 8885

Re: Lightning Chart integration in unity3d

Hello Ali, We haven't tested this lately. But in general, if you are using Windows components in your application, you should be able to use LightningChart with Unity. Most likely you need to add the libraries (.dll files) to Assets directory in your project. One option could be to use LightningChar...
by Arction_LasseP
Mon Sep 07, 2020 6:16 am
Forum: LightningChart Ultimate WinForms
Topic: Custom draw on ViewXY
Replies: 4
Views: 4080

Re: Custom draw on ViewXY

Hello Andy,

You can change the appearance of the cursor via LineStyle.

Code: Select all

cursor.LineStyle.Color = Color.Blue;
LineStyle includes also other settings besides color, for instance line width and pattern (dash, dot etc.).

Best regards,
Lasse
by Arction_LasseP
Fri Sep 04, 2020 12:36 pm
Forum: LightningChart Ultimate WinForms
Topic: Custom draw on ViewXY
Replies: 4
Views: 4080

Re: Custom draw on ViewXY

Hello Andy, This can be done for example by subscribing to mouse events, and create an object, in this case a cursor, inside the event. For instance, the following adds a LineSeriesCursor to the mouse click position: _chart.MouseClick += _chart_MouseClick; private void _chart_MouseClick(object sende...
by Arction_LasseP
Wed Sep 02, 2020 11:21 am
Forum: LightningChart Ultimate WPF
Topic: How to orepend points to a PointLineSeries
Replies: 1
Views: 2854

Re: How to orepend points to a PointLineSeries

Hello, One solution could be to replace the whole Points array whenever you need to add historical data as well. pointLineSeries.Points = pointsArray; // pointArray contains both the historical data and the new points This can be slightly slower performance-wise compared to AddPoints(), but if you a...
by Arction_LasseP
Wed Aug 05, 2020 10:51 am
Forum: LightningChart Ultimate WPF
Topic: Remote desktop problems
Replies: 2
Views: 3510

Re: Remote desktop problems

Hello, Remote desktop connection should work by default without need of changing ChartRenderOptions. We don't think changing RemoteDesktopVenderId will help in this case as in our experience this has never been the case in previous remote desktop issues. We recommend leaving it to the default settin...
by Arction_LasseP
Thu Jul 16, 2020 12:22 pm
Forum: LightningChart Ultimate WinForms
Topic: Log axes - more tick marks?
Replies: 2
Views: 4129

Re: Log axes - more tick marks?

Hello When ScaleType is set to Logarithmic, the axis labels are automatically calculated based on LogBase setting of the axis. LogBase = 10 results in 1, 10, 100, 1000 etc. Currently this behaviour cannot be disabled. If you want to show more ticks, you can use CustomTicks. These allow you to manual...
by Arction_LasseP
Mon Jul 13, 2020 7:04 am
Forum: LightningChart Ultimate WPF
Topic: CopyToClipBoard Transparent Polar Graph
Replies: 1
Views: 3209

Re: CopyToClipBoard Transparent Polar Graph

Hello, As you mentioned, there is still some gradient in the polar chart. You can disable this as well by setting GradientFill to solid. Also use ChartBackground to change the color of the view background and GraphBackground to change the color of the graph (circular area). Furthermore, modifying Op...
by Arction_LasseP
Tue Jun 16, 2020 1:38 pm
Forum: LightningChart Ultimate WPF
Topic: Limit the display range on ViewXY
Replies: 0
Views: 14606

Re: Limit the display range on ViewXY

Hello, We have events which can be very useful here. BeforePanning event for the view triggers right before the actual panning operation happens. Inside the event you could check the new axis values, for instance if minimum is below zero, and act accordingly. You can actually cancel the panning by s...
by Arction_LasseP
Tue Jun 16, 2020 6:59 am
Forum: LightningChart Ultimate WPF
Topic: How to display the range of Polar Chart axes in decimal places.
Replies: 1
Views: 3164

Re: How to display the range of Polar Chart axes in decimal places.

Hello, This happens because by default, the amplitude value labels are rounded to nearest integers. However, this is true only for the label strings, the minimum and maximum values of an axis should be correct even if the labels show rounded values. This rounding happens automatically unless a small...
by Arction_LasseP
Fri Jun 12, 2020 8:15 am
Forum: LightningChart Feature Requests
Topic: Alternate 3D coordinate systems
Replies: 1
Views: 12050

Re: Alternate 3D coordinate systems

Hello, This feature has been requested from time to time. We have added it to our feature list, therefore we will implement it sometime in the future. Meanwhile, it is still possible to change to control the coordinate system to some extent by reversing the axis. For instance, reversing Z-axis could...
by Arction_LasseP
Thu Jun 04, 2020 9:13 am
Forum: LightningChart Ultimate How-To's
Topic: Padding of charts
Replies: 1
Views: 11224

Re: Padding of charts

Hello, I would say that the best option here is to set margins manually. By default, the margins in LightningChart are automatically calculated based on various components such as axis titles and labels and chart title. Therefore, you need to first disable AutoAdjustMargins -property: _chart.ViewXY....
by Arction_LasseP
Wed May 27, 2020 11:15 am
Forum: LightningChart Ultimate WinForms
Topic: Legend and annotation tooltips
Replies: 3
Views: 5804

Re: Legend and annotation tooltips

Hello, We actually have separate events to use when moving mouse over a series title in the LegendBox. SeriesTitleMouseMoveOverOn/Off events for the LegendBox also give information about the series the mouse is currently over. _chart.ViewXY.LegendBoxes[0].SeriesTitleMouseMoveOverOn += Example_Series...
by Arction_LasseP
Wed May 27, 2020 7:25 am
Forum: LightningChart Ultimate WPF
Topic: Polar Plot Configuration
Replies: 3
Views: 5089

Re: Polar Plot Configuration

Hello, Yes, defining angular grid count manually was introduced in LightningChart version 8.3.1 if I am not mistaken. Therefore these properties or anything similar to them are not available in v6.5.1. There are only two workarounds that i can see. Obvious one is to update to the newest LightningCha...
by Arction_LasseP
Tue May 26, 2020 10:51 am
Forum: LightningChart Ultimate How-To's
Topic: Remove Y axis at runtime
Replies: 1
Views: 10487

Re: Remove Y axis at runtime

Hello, AssignYAxisIndex for the SampleDataSeries controls which Y-axis it is bound to. It is the index number of the Y-axis in chart.ViewXY.YAxes[] -array. Now if you remove an axis from the chart, a series cannot find its axis in that array, in which case AssignYAxisIndex gets value -1. This leads ...
by Arction_LasseP
Mon May 25, 2020 7:49 am
Forum: LightningChart Ultimate WinForms
Topic: Legend and annotation tooltips
Replies: 3
Views: 5804

Re: Legend and annotation tooltips

Hello, It is definitely possible to show a tooltip when hovering mouse over a chart object. This is true for pretty much all chart objects such as all series types, axes, Annotations etc. Usually an Annotation is used for showing the tooltip but in some cases LegendBox can be handy as well (tracking...
by Arction_LasseP
Mon May 18, 2020 10:08 am
Forum: LightningChart Ultimate How-To's
Topic: How to move or drag and drop LineCollection in Chart?
Replies: 3
Views: 12986

Re: How to move or drag and drop LineCollection in Chart?

Hello, One reason why LineSeriesCursor is not snapping to points could be that you are using LineCollection instead of PointLineSeries, apologies for not spotting this earlier. LineCollection cannot be tracked by the Cursor, only series implementing ITrackable interface can (SampleDataSeries, PointL...
by Arction_LasseP
Thu May 14, 2020 9:03 am
Forum: LightningChart Ultimate How-To's
Topic: How to move or drag and drop LineCollection in Chart?
Replies: 3
Views: 12986

Re: How to move or drag and drop LineCollection in Chart?

Hello, LightningChart has LineSeriesCursor which is very similar to this "tracker". LineSeriesCursor is a vertical line which can be dragged by mouse and can be set to snap to the nearest data point. // Adding a line series cursor in code. LineSeriesCursor cursor = new LineSeriesCursor(_ch...
by Arction_LasseP
Thu May 14, 2020 6:58 am
Forum: LightningChart Ultimate WPF
Topic: Polar Plot Configuration
Replies: 3
Views: 5089

Re: Polar Plot Configuration

Hello, By default, the number of angular values (0, 30, 60, 90...) is automatically calculated. To set them manually you need to disable AngularAxisAutoDivSpacing, after which you can use AngularAxisMajorDivCount to set the number of these values, in this case 4. _chart.ViewPolar.Axes[0].AngularAxis...
by Arction_LasseP
Fri Mar 06, 2020 9:54 am
Forum: LightningChart Ultimate WPF
Topic: Constant Line on X-axis
Replies: 3
Views: 6091

Re: Constant Line on X-axis

Hello, That is unfortunately not possible with Bands, unless using Bitmap fills or ClipAreas to hide parts of the Band, but these would be unnecessarily complicated. Therefore if you need dashed or dotted pattern, I'd recommend using another option that is LineSeriesCursor, which in many ways is sim...
by Arction_LasseP
Fri Mar 06, 2020 7:54 am
Forum: LightningChart Ultimate WPF
Topic: Constant Line on X-axis
Replies: 3
Views: 6091

Re: Constant Line on X-axis

Hello, Currently X-axes have no ConstantLines available like Y-axes do. However, there are several ways to draw something similar for X-axis. For example a Band, LineSeriesCursor, PolygonSeries or FreeformPointLineSeries could be used. Of these Band is by far the best option. It can be bound to X-ax...
by Arction_LasseP
Thu Jan 30, 2020 7:57 am
Forum: LightningChart Ultimate WPF
Topic: Displaying multiple X-axis titles
Replies: 1
Views: 3722

Re: Displaying multiple X-axis titles

Hello, In general, there can be only one title per axis. Therefore, if you need to show two differently colored titles, some other means has to be used. There are several possibilities: -If you are not using the Units text with your X-axis, you can use that as a secondary title: axisX.Units.Visible ...
by Arction_LasseP
Tue Jan 28, 2020 7:59 am
Forum: LightningChart Ultimate WPF
Topic: Y-Axis labels in logarithmic scale
Replies: 1
Views: 3651

Re: Y-Axis labels in logarithmic scale

Hello, When using a logarithmic axis, the labels are automatically drawn in the positions of multiples of log base (controlled by yAxis.LogBase property), for example 1, 10, 100, 1000 etc with log base 10 or 2, 4, 8, 16, 32 etc with log base 2. The labels between these values are not drawn, and unfo...
by Arction_LasseP
Mon Jan 27, 2020 12:23 pm
Forum: LightningChart Ultimate WPF
Topic: Order in which PointLineSeries are displayed
Replies: 2
Views: 4017

Re: Order in which PointLineSeries are displayed

Hello, There currently isn't a property which controls the order of PointLineSeries. Instead, they are drawn in the order they are added to chart. In other words the first series (chart.ViewXY.PointLineSeries[0]) is always drawn before the second one (chart.ViewXY.PointLineSeries[1]). Therefore, if ...
by Arction_LasseP
Wed Dec 04, 2019 9:18 am
Forum: LightningChart Ultimate WPF
Topic: ClipArea Issues with LineSeriesCursor and MouseOver
Replies: 1
Views: 4033

Re: ClipArea Issues with LineSeriesCursor and MouseOver

Hello, The function of ClipAreas is to prevent parts of the data to be rendered. However, in most cases they do only that and not stop the other functions such as mouse interactions. The first issue about the LineSeriesCursor can be solved by changing CursorTrackEnabled -property for individual Poin...
by Arction_LasseP
Tue Nov 26, 2019 9:52 am
Forum: LightningChart General Q&A
Topic: To display map scale
Replies: 5
Views: 18764

Re: To display map scale

Hello, We are not quite sure what exactly you mean here by converting to the value. If you want the MiniScale labels to show different (converted) values, it will be somewhat tricky as the numbers cannot be modified, only the unit texts. Of course, you can display the converted values in these texts...
by Arction_LasseP
Mon Nov 25, 2019 9:54 am
Forum: LightningChart Ultimate WPF
Topic: Multiple FreeformPointLineSeries point tracking
Replies: 1
Views: 4556

Re: Multiple FreeformPointLineSeries point tracking

Hello, This depends on do you want to use one or multiple markers. If you want to track each series separately and show the nearest points of all the series simultaneously (for instance 3 series -> 3 results shown), you can just use SolveNearestDataPointByCoord for all the series separately and have...
by Arction_LasseP
Wed Nov 20, 2019 7:52 am
Forum: LightningChart General Q&A
Topic: To display map scale
Replies: 5
Views: 18764

Re: To display map scale

Hello, We do have MiniScale -feature, which shows a kind of miniature X -and Y-axis, giving a quick visual overview of data magnitude. MiniScale is fully configurable (color, size, position) and it automatically resizes when the chart is zoomed. You could check if that is suitable for your applicati...
by Arction_LasseP
Mon Nov 11, 2019 9:11 am
Forum: LightningChart Ultimate WPF
Topic: Charts completely black when drawn while not visible
Replies: 6
Views: 8743

Re: Charts completely black when drawn while not visible

Hello David,

We have already found a fix for this. It will be included in our next release, LightningChart v8.5, which is currently scheduled to happen later this month.

Best regards,
Lasse
by Arction_LasseP
Wed Nov 06, 2019 11:27 am
Forum: LightningChart Ultimate WPF
Topic: [FullBindable] How to trigger View XY ZoomToFit when BarSeries Changed
Replies: 1
Views: 4030

Re: [FullBindable] How to trigger View XY ZoomToFit when BarSeries Changed

Hello, The CollectionChanged -event is usually the correct way to handle cases where a collection is changed regardless of its contents (a collection of BarSeries or some other objects not related to LightningChart work similarly). However, this event doesn't always trigger when you change a value i...
by Arction_LasseP
Thu Oct 31, 2019 10:17 am
Forum: LightningChart Ultimate WinForms
Topic: 3d graph from datagridview data
Replies: 3
Views: 7205

Re: 3d graph from datagridview data

Hello, IndexOutOfRangeException indicates the array/matrix sizes do not match. In other words, data or object is being inserted to array index that does not exist. Where exactly this happens is not clear. Therefore we suggest you check the sizes of the arrays you use during pasting the data values, ...
by Arction_LasseP
Mon Oct 28, 2019 10:24 am
Forum: LightningChart Ultimate WinForms
Topic: 3d graph from datagridview data
Replies: 3
Views: 7205

Re: 3d graph from datagridview data

Hello, If you want to have 24 different curves, you need to create 24 separate PointLineSeries3D objects in code behind and add each one to the chart's PointLineSeries3D collection. Here is a small example, in which these curves as well as data points for them are generated in code behind. The CellV...
by Arction_LasseP
Wed Oct 09, 2019 7:22 am
Forum: LightningChart Ultimate WPF
Topic: Tooltip when hovering over Point
Replies: 3
Views: 6027

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: 5895

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: 4393

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: 5895

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: 6027

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 ...
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: 4055

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: 4973

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: 8245

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: 16142

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: 8245

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: 8245

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: 4881

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: 6
Views: 8743

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: 4505

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: 7483

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: 3722

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: 3947

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: 6219

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 als...
by Arction_LasseP
Wed Jul 31, 2019 11:33 am
Forum: LightningChart Ultimate WPF
Topic: Bands - Mouse Interaction "Step"
Replies: 1
Views: 3840

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 i...
by Arction_LasseP
Wed Jul 31, 2019 9:55 am
Forum: LightningChart Ultimate WPF
Topic: Background LegendBoxes
Replies: 4
Views: 6219

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: 56463

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: 56463

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: 5146

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: 6
Views: 8743

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: 21080

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: 3788

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: 3
Views: 6425

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: 4135

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: 15176

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: 5059

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: 7316

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: 7316

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: 8399

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: 7923

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: 4669

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: 4494

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: 6053

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: 8
Views: 42131

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: 13869

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: 8350

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: 8350

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: 4374

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: 5722

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: 7935

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: 7935

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: 4605

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: 7935

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: 5722

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: 16142

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...
by Arction_LasseP
Mon Apr 08, 2019 9:42 am
Forum: LightningChart Ultimate WPF
Topic: Can't view Signal Processing examples?
Replies: 1
Views: 3778

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.