Search found 51 matches

by frank
Tue Nov 10, 2015 7:53 am
Forum: LightningChart Ultimate How-To's
Topic: PointLineSeries: Draw clipped lines in visible area
Replies: 2
Views: 7433

Re: PointLineSeries: Draw clipped lines in visible area

Hi Pasi,

thanks for fast reply. That was also one of my ideas. But with 18 Million Points in my Series this takes up some time. So I was hoping there was an inbuild method I could use.
I'll try LineCollections.

Best regards,
Frank
by frank
Mon Nov 09, 2015 10:39 am
Forum: LightningChart Ultimate How-To's
Topic: PointLineSeries: Draw clipped lines in visible area
Replies: 2
Views: 7433

PointLineSeries: Draw clipped lines in visible area

Hi,

is there an easy way in LightningChart, to draw an over-/ undershoot of the visible area to the visible top/bottom of this area?
by frank
Fri Oct 23, 2015 10:14 am
Forum: LightningChart Ultimate WinForms
Topic: Line breaking: solutions
Replies: 2
Views: 3454

Re: Line breaking: solutions

Hi Pasi,

I like ClipAreas very much. Helped improve performance of my chart a lot. Wouldn't it be possible, to enhance ClipAreas to limt in X- and Y-Direction? Or would it break performance of the ClipArea-Solution?
by frank
Tue Jul 28, 2015 7:02 am
Forum: LightningChart Ultimate WPF
Topic: Is there a Mini scale for View3D as well?
Replies: 1
Views: 3655

Is there a Mini scale for View3D as well?

Hi,

I'm looking for a Mini scale on View3D, but can't actually find it. Would be helpful.

Thanks
by frank
Wed Apr 15, 2015 8:36 am
Forum: LightningChart Bug Reports
Topic: XRanges empty on zooming out
Replies: 5
Views: 11534

Re: XRanges empty on zooming out

Hi Pasi,
Only the Y axes that are set to zoom, are enlisted in List<RangeChangeInfo> yRanges.
As you can see in my first post, I'm talking about the xRanges

Code: Select all

xRanges[0].NewMin
doesn't work any more.

Regards,
Frank
by frank
Wed Apr 15, 2015 6:22 am
Forum: LightningChart Bug Reports
Topic: XRanges empty on zooming out
Replies: 5
Views: 11534

Re: XRanges empty on zooming out

Sure. Please have a look at the attached sample.

Best regards,
Frank
by frank
Mon Apr 13, 2015 6:57 am
Forum: LightningChart Bug Reports
Topic: XRanges empty on zooming out
Replies: 5
Views: 11534

XRanges empty on zooming out

Up to a new release shortly I colud use the following code, having RightToLeft Zoomout enabled: private void BeforeZooming(List<RangeChangeInfo> xRanges, List<RangeChangeInfo> yRanges, bool byWheel, ref bool cancel) { ... IsZooming = !(Equals(xRanges[0].NewMin, RangeXMin) && Equals(xRanges[0].NewMax...
by frank
Mon Feb 02, 2015 4:06 pm
Forum: LightningChart Ultimate WPF
Topic: Margin for Titles
Replies: 4
Views: 8371

Re: Margin for Titles

Thanks. As long as V.7 won't take several years to be released I think it's sufficiently early.

Btw: I'm missing a "thumbs up" smiley ;)
by frank
Mon Feb 02, 2015 1:19 pm
Forum: LightningChart Ultimate WPF
Topic: Margin for Titles
Replies: 4
Views: 8371

Re: Margin for Titles

Hi Pasi,

thanks for the solution. But on Zooming and Scrolling the label flickers all over the chart.
Could you make the "Offset for Titles" a feature-request for one of the next versions, or would that be to complicated?

Best regards,
Frank
by frank
Fri Jan 30, 2015 3:17 pm
Forum: LightningChart Bug Reports
Topic: "Cannot find governing FrameworkElement" on WPF-Binding
Replies: 2
Views: 9170

Re: "Cannot find governing FrameworkElement" on WPF-Binding

:oops: Thanks, thats it. I thought it was working once, but probably I just forgot it in some places and it never did work. On googling the error I just found posts about the visual tree of WPF controls.
My apologies for this disruption.
by frank
Fri Jan 30, 2015 1:34 pm
Forum: LightningChart Bug Reports
Topic: "Cannot find governing FrameworkElement" on WPF-Binding
Replies: 2
Views: 9170

"Cannot find governing FrameworkElement" on WPF-Binding

Hi, as discussed here I use programmatical Binding like BindingOperations.SetBinding(_chart.ViewXY, ViewXY.GraphBorderColorProperty, new Binding { Path = new PropertyPath("AcceptedAreaColor") }); It worked, but since one of the newer versions of LC I get the following errors and the Binding doesn't ...
by frank
Fri Jan 30, 2015 12:27 pm
Forum: LightningChart Ultimate WPF
Topic: Margin for Titles
Replies: 4
Views: 8371

Margin for Titles

Hi, I'm using the AxisX.Title to display the dimension with the following code axisX.Title.HorizontalAlign = XAxisTitleAlignmentHorizontal.Right; axisX.Title.VerticalAlign = XAxisTitleAlignmentVertical.Top; axisX.Title.Text = ... How can I move the Title just some pixels away from the right border? ...
by frank
Fri Nov 14, 2014 9:21 am
Forum: LightningChart Ultimate WPF
Topic: WPF programmatically binding
Replies: 2
Views: 6424

Re: WPF programmatically binding

Thanks! It works.
by frank
Thu Nov 13, 2014 3:37 pm
Forum: LightningChart Ultimate WPF
Topic: WPF programmatically binding
Replies: 2
Views: 6424

WPF programmatically binding

Hi, I'm trying to bind some properties in code instead of setting them on various locations. For some properties it works, for others it doesn't. E.g. I can bind ChartBackground with _chart.SetBinding(LightningChartUltimate.ChartBackgroundProperty, new Binding { Converter = new Converters.ColorToFil...
by frank
Mon Oct 27, 2014 12:51 pm
Forum: LightningChart Ultimate WPF
Topic: Line breaking with CustomLinePointColoringAndShaping
Replies: 1
Views: 4364

Re: Line breaking with CustomLinePointColoringAndShaping

Hi,

use the new ClipArea Feature for this. I'm actually updating my project to use ClipAreas, and they seem very fast.
by frank
Wed Oct 22, 2014 10:19 am
Forum: LightningChart Ultimate WPF
Topic: Get the Series ClipAreas
Replies: 1
Views: 3929

Get the Series ClipAreas

Hi, I'm actually improving the speed of my application and rewrite parts of my code to use the new ClipAreas-Feature of LC. For the value-ruler in my application I would need to know the ClipAreas of a series, to check if the ruler is in an area. I can only find SetClipAreas(), but no way to get thi...
by frank
Wed Oct 22, 2014 10:14 am
Forum: LightningChart Ultimate WPF
Topic: Event, when chart is defenetly renderd
Replies: 2
Views: 4745

Re: Event, when chart is defenetly renderd

Hi Pasi,

thanks for your effort. That's what I also found so I was hoping LC would provide perhaps an Event where I could bypass this problem. I'll try another solution, because I try to save a WPF-Grid containing multiple LightningCharts.
by frank
Mon Oct 20, 2014 12:08 pm
Forum: LightningChart Ultimate WPF
Topic: Event, when chart is defenetly renderd
Replies: 2
Views: 4745

Event, when chart is defenetly renderd

Hi, is there an Event I can hook into, when the chart is defenetly rendered on the screen? I'm loading external data to the chart and want to render the UIElement afterwards (like a Screenshot from a specific part of the program-window). I tried to use chart.AfterRendering, but then I always get an ...
by frank
Wed Sep 03, 2014 7:13 am
Forum: LightningChart Ultimate WPF
Topic: Different colored Text in Annotation?
Replies: 1
Views: 4009

Different colored Text in Annotation?

Hi,

I know my requirements to LightningChart are sometimes ambitious :)
I have implemented a function like your ExampleCursorTrackingXY. Would it be possible (directly via RichText or in an CustomDrawEvent) to color the text like the associated PointLine?

Best regards,
Frank
by frank
Mon Sep 01, 2014 6:53 am
Forum: LightningChart Bug Reports
Topic: CustomLinePointColoringAndShaping not working correctly
Replies: 10
Views: 19209

Re: CustomLinePointColoringAndShaping not working correctly

:o Thank you very much! This is really good news
by frank
Fri Aug 29, 2014 2:32 pm
Forum: LightningChart Bug Reports
Topic: CustomLinePointColoringAndShaping not working correctly
Replies: 10
Views: 19209

Re: CustomLinePointColoringAndShaping not working correctly

Hi Pasi, thank you very much. This would be helpful. But if it will become too complicated, I had the idea to use Series.PointStyle.Width and set round shapes :idea: Perhaps they will be accepting this, as for zoomed-out charts the lines will also appear thicker. But as I noticed in a short test, Po...
by frank
Fri Aug 29, 2014 10:06 am
Forum: LightningChart Bug Reports
Topic: CustomLinePointColoringAndShaping not working correctly
Replies: 10
Views: 19209

Re: CustomLinePointColoringAndShaping not working correctly

Yes, I noticed that, too. They aren't needed any more because the LineWidth isn't changed in your example. But I NEED to change the LineWidth in my project!

Is there no way to combine LineWidth>1 and CustomLinePointColoringAndShaping?
by frank
Fri Aug 29, 2014 9:54 am
Forum: LightningChart Bug Reports
Topic: CustomLinePointColoringAndShaping not working correctly
Replies: 10
Views: 19209

Re: CustomLinePointColoringAndShaping not working correctly

Hi Pasi,

sorry, but I don't see a difference in the code, except that in Slider_ValueChanged the setting of the series.LineStyle.Width is commented out, so that the LineWidth stays 1.

Am I missing something?

Best regards,
Frank
by frank
Fri Aug 29, 2014 7:36 am
Forum: LightningChart Bug Reports
Topic: CustomLinePointColoringAndShaping not working in small chart
Replies: 3
Views: 8481

Re: CustomLinePointColoringAndShaping not working in small c

Hi Pasi,

please see attached example. Just resize the window to see the described behaviour.

Best regards,
Frank
by frank
Fri Aug 29, 2014 7:22 am
Forum: LightningChart Bug Reports
Topic: CustomLinePointColoringAndShaping not working correctly
Replies: 10
Views: 19209

Re: CustomLinePointColoringAndShaping not working correctly

Hi Pasi, so it should work if I set the LineWidth=1 before manipulating and reset it afterwards. But why aren't the lines drawn if I do so, as demonstrated in the sample project? They are just updated when moving the mouse over them or something like that. Or would I have to set/reset the width befo...
by frank
Thu Aug 28, 2014 3:57 pm
Forum: LightningChart Bug Reports
Topic: CustomLinePointColoringAndShaping not working in small chart
Replies: 3
Views: 8481

CustomLinePointColoringAndShaping not working in small chart

Hi, as discussed once via email, I'm using CustomLinePointColoringAndShaping to "hide" invalid values by setting them to a large negativ y-Value and drawing the points in between transparent. This works very well. As I have multiple charts in one window, and they can be resized freely, I now noticed...
by frank
Wed Aug 27, 2014 11:32 am
Forum: LightningChart Bug Reports
Topic: CustomLinePointColoringAndShaping not working correctly
Replies: 10
Views: 19209

CustomLinePointColoringAndShaping not working correctly

Hi, I have some PointLineSeries with CustomLinePointColoringAndShaping-Event. The PointLineSeries are only drawn if the LineStyle.Width = 1.0f. I need to be able to change the LineWidth e.g. with a slider or anything else (please see attached Sample). If in CustomLinePointColoringAndShaping I set se...
by frank
Wed Jul 23, 2014 9:18 am
Forum: LightningChart Bug Reports
Topic: Wrong Ranges after Zoom-Reset
Replies: 13
Views: 22563

Re: Wrong Ranges after Zoom-Reset

Thanks!
by frank
Wed Jul 23, 2014 7:05 am
Forum: LightningChart Bug Reports
Topic: BeforeZooming: Ranges not updated after cancel was called
Replies: 3
Views: 7206

Re: BeforeZooming: Ranges not updated after cancel was calle

Hi Tero,

this Bug is fixed with Version 6.0.9. Thanks
by frank
Mon Jul 21, 2014 2:57 pm
Forum: LightningChart Bug Reports
Topic: Wrong Ranges after Zoom-Reset
Replies: 13
Views: 22563

Re: Wrong Ranges after Zoom-Reset

Hi Tero,

in a quick test the problem seems to be solved. But now there is drawn a white rectangle when performing RightToLeftZoomAction. Can I switch that off somehow?

Best regards,
Frank
by frank
Wed Jul 09, 2014 7:11 am
Forum: LightningChart Ultimate WPF
Topic: RightToLeftZoomAction.RectangleZoomIn: values swapped
Replies: 1
Views: 4197

RightToLeftZoomAction.RectangleZoomIn: values swapped

Hi, just updated to v.6.0.8. If RightToLeftZoomAction is set to RectangleZoomIn and a zoom is performed from right to left, the values xRanges.NewMin and xRanges.NewMax are swapped (Min is larger than Max). Is this a wanted behaviour? On the first consideration it is a bit confusing, but in some sit...
by frank
Tue Jul 08, 2014 10:14 am
Forum: LightningChart Bug Reports
Topic: BeforeZooming: Ranges not updated after cancel was called
Replies: 3
Views: 7206

BeforeZooming: Ranges not updated after cancel was called

Hi, I have another strange behavior in BeforeZooming with LC WPF. void BeforeZooming(List<RangeChangeInfo> xRanges, List<RangeChangeInfo> yRanges, bool byWheel, ref bool cancel) { //foreach (RangeChangeInfo rci in xRanges) //{ // System.Diagnostics.Debug.Print("{0} BeforeZooming() {1}..{2} -> {3}..{...
by frank
Tue Jul 08, 2014 8:44 am
Forum: LightningChart Bug Reports
Topic: MousePanThreshold only attended the first time
Replies: 1
Views: 4723

MousePanThreshold only attended the first time

Hi,

I have set chart.ViewXY.ZoomPanOptions.MousePanThreshold so that the panning doesn't start on very small mousemovements. But it is only attended the first time. After the threshold is exceeded once, it is ignored.

Best regards,
Frank
by frank
Tue Jul 08, 2014 8:41 am
Forum: LightningChart Bug Reports
Topic: Wrong Ranges after Zoom-Reset
Replies: 13
Views: 22563

Re: Wrong Ranges after Zoom-Reset

Are there any news to this?
by frank
Wed Jul 02, 2014 12:07 pm
Forum: LightningChart Bug Reports
Topic: Wrong Ranges after Zoom-Reset
Replies: 13
Views: 22563

Re: Wrong Ranges after Zoom-Reset

Hi, if there is only one y-axis (as in this example) ViewXY.AxisLayout.AutoAdjustMargins = false; ViewXY.AxisLayout.YAxisTitleAutoPlacement = false; ViewXY.AxisLayout.YAxesLayout = YAxesLayout.Layered; else ViewXY.AxisLayout.AutoAdjustMargins = false; ViewXY.AxisLayout.YAxisTitleAutoPlacement = fals...
by frank
Wed Jul 02, 2014 9:41 am
Forum: LightningChart Bug Reports
Topic: Wrong Ranges after Zoom-Reset
Replies: 13
Views: 22563

Re: Wrong Ranges after Zoom-Reset

Hi Tero, I'm using latest Version 6.0.6.4001. There can be mor than one y-axis, but in this example there is only one y-axis with multiple lines on it (as you can see in the screenshot). Here is the log: 02.07.2014 11:39:00 BeforeZooming() 0..111.39 -> 9.50185590778098..26.3869106628242 02.07.2014 1...
by frank
Wed Jul 02, 2014 7:14 am
Forum: LightningChart Bug Reports
Topic: Wrong Ranges after Zoom-Reset
Replies: 13
Views: 22563

Re: Wrong Ranges after Zoom-Reset

Hi Tero, CurrentXMin, CurrentXMax, RangeRevertXMin, RangeRevertXMax, ZoomXMin, ZoomXMax and IsZooming are all DependencyPropertys. The mainwindow holds a collection of my ViewModels, each managing one Chart. In if(isZooming) the zooming is canceled by setting cancel=true, ZoomLimit is set to 2: if (...
by frank
Tue Jul 01, 2014 1:47 pm
Forum: LightningChart Bug Reports
Topic: Wrong Ranges after Zoom-Reset
Replies: 13
Views: 22563

Re: Wrong Ranges after Zoom-Reset

Hi Tero, I'm using WPF chart. I'm initializing ViewXY.ZoomPanOptions as follows: _chart.ViewXY.ZoomPanOptions.PanDirection = PanDirection.Horizontal; _chart.ViewXY.ZoomPanOptions.RectangleZoomDirectionLayered = RectangleZoomDirectionLayered.Horizontal; _chart.ViewXY.ZoomPanOptions.RightToLeftZoomAct...
by frank
Tue Jul 01, 2014 12:25 pm
Forum: LightningChart Bug Reports
Topic: Wrong Ranges after Zoom-Reset
Replies: 13
Views: 22563

Wrong Ranges after Zoom-Reset

Hi, I'm using the mouse-gesture (left mouse button and moving cursor left) to reset the zoom and zoom out. After zooming out, I can't zoom in again. In BeforeZooming-Event, the xRanges[0].NewMin and xRanges[0].NewMax are equal to the Min and Max of the chart, not the zooming arera. If I trigger the ...
by frank
Tue May 27, 2014 2:23 pm
Forum: LightningChart Ultimate How-To's
Topic: Draw Zoom rectangle
Replies: 1
Views: 6066

Draw Zoom rectangle

Hi,

I have a WPF-Application with multiple charts in it. They are all synchronised when panning and zooming. Is it possible to programmatically overlay/draw the zoom rectangle on the other charts, when the user zooms by mouse in one chart?

Best regards,
Frank
by frank
Fri May 23, 2014 7:47 am
Forum: LightningChart Bug Reports
Topic: Sub-Objects NULL in 6.0.2
Replies: 2
Views: 4698

Re: Sub-Objects NULL in 6.0.2

Hi Tero,

I initialize my chart completely by code. And I think I figured out all the objects which I have to initialize before using. Just wanted to let you know because the behaviour to previous Versions changed and errors just occure during runtime.
by frank
Fri May 23, 2014 6:57 am
Forum: LightningChart Bug Reports
Topic: Sub-Objects NULL in 6.0.2
Replies: 2
Views: 4698

Sub-Objects NULL in 6.0.2

Hi, I don't know if this is really a bug. For me it's usual behaviour, but in previous Vresions of LightningChart I didn't have to care about this. On e.g. the Axis, sub-objects like MinorGrid, MajorGrid, Units etc. are now NULL. In previous versions they where pre-initialized. Now the code crashes ...
by frank
Fri May 16, 2014 8:41 am
Forum: Updating LightningChart from v.5 to v.6
Topic: Distribute DLLs
Replies: 4
Views: 13172

Re: Distribute DLLs

You also need

Arction.DirectXFiles

if DirectX isn't installed on the System. I just released an Application using that 4 Arction.DirectX-DLLs in a VM and it works.
by frank
Thu May 15, 2014 12:47 pm
Forum: LightningChart Bug Reports
Topic: LC6: Zoom and zoom-out not always triggered
Replies: 1
Views: 5023

LC6: Zoom and zoom-out not always triggered

Hi, please see the attached example and the demonstrating video (by email, because its larger than 256kb). In my code I use the following propertys to set some zooming-options. chart.ViewXY.ZoomPanOptions.PanDirection = PanDirection.Horizontal; chart.ViewXY.ZoomPanOptions.RectangleZoomDirectionLayer...
by frank
Tue May 13, 2014 6:05 am
Forum: LightningChart Feature Requests
Topic: ZoomedOut, BeforeZoomingOut Events
Replies: 4
Views: 13424

Re: ZoomedOut, BeforeZoomingOut Events

Hi,

I just tried to implement your example. But in WPF I only have

Code: Select all

xRanges[0].CurrentMin
xRanges[0].CurrentMax
by frank
Mon May 12, 2014 3:01 pm
Forum: LightningChart Feature Requests
Topic: ZoomedOut, BeforeZoomingOut Events
Replies: 4
Views: 13424

Re: ZoomedOut, BeforeZoomingOut Events

Thanks,

this tip is very helpful.

Best regards,
Frank
by frank
Mon May 12, 2014 2:14 pm
Forum: Updating LightningChart from v.5 to v.6
Topic: Prevent Scroll and Zoom with mouse wheel above axes
Replies: 3
Views: 11505

Re: Prevent Scroll and Zoom with mouse wheel above axes

I'm sorry,
but I can't find

Code: Select all

axisX.ZoomPanOptions.AxisMouseWheelAction
and also no

Code: Select all

chart.ViewXY.ZoomPanOptions.AxisMouseWheelAction
Where do I find this property?

Best regards,
Frank
by frank
Mon May 12, 2014 9:04 am
Forum: Updating LightningChart from v.5 to v.6
Topic: Prevent Scroll and Zoom with mouse wheel above axes
Replies: 3
Views: 11505

Prevent Scroll and Zoom with mouse wheel above axes

Hi,

I have set

Code: Select all

axisX.MouseScrolling = false;
axisX.MouseScaling = false;
in my code. But after updating to LC6 it is possible to scale axes via mousewheel. Where is the property to prevent this?

Best regards,
Frank
by frank
Fri May 09, 2014 11:46 am
Forum: LightningChart Feature Requests
Topic: ZoomedOut, BeforeZoomingOut Events
Replies: 4
Views: 13424

ZoomedOut, BeforeZoomingOut Events

Hi,

in LC6 exist Zoomed and BeforeZooming events. It would be handy, if we could also get events for zooming out.
by frank
Fri May 09, 2014 11:36 am
Forum: LightningChart Bug Reports
Topic: LC6: Strange behaviour with AutoAdjustMargins=false
Replies: 1
Views: 5519

LC6: Strange behaviour with AutoAdjustMargins=false

Hi, I have a strange behaviour with the chart.ViewXY.AxisLayout.AutoAdjustMargins-Settings. In my LC5-code I set the margins programatically depending on some parameters defined for the chart layout. After upgrading to LC6, if I set the chart.ViewXY.AxisLayout.AutoAdjustMargins = true; the beginning...
by frank
Wed May 07, 2014 12:26 pm
Forum: LightningChart Ultimate WPF
Topic: ThreadException in CustomLinePointColoringAndShaping
Replies: 1
Views: 4289

ThreadException in CustomLinePointColoringAndShaping

Hi, after upgrading to Version 6.0.1 I get an System.InvalidOperationException in an CustomLinePointColoringAndShaping-Implementation. The line _chart.ViewXY.YAxes[0].CoordToValue(coords .Y, out yValue); causes "The calling thread cannot access this object because a different thread owns it." In LC ...