Search found 19 matches

by NielsUll
Wed May 24, 2017 10:38 am
Forum: LightningChart Ultimate WPF
Topic: Why is plot continuosly redrawing?
Replies: 2
Views: 4252

Re: Why is plot continuosly redrawing?

Thanks - that fixed it.
by NielsUll
Mon May 15, 2017 3:31 pm
Forum: LightningChart Ultimate WPF
Topic: Why is plot continuosly redrawing?
Replies: 2
Views: 4252

Why is plot continuosly redrawing?

Hi! We have noticed that we have a fair amount of CPU load and memory churn, even when the application is doing absolutely nothing and we are showing no data. It seems that it is continuously calling our handler for the FormatValueLabel event? The stack trace is this: DiagnosticAnalyzer.Module.Commo...
by NielsUll
Mon May 15, 2017 6:58 am
Forum: LightningChart Ultimate WPF
Topic: Detecting and ignoring zoom mouse clicks
Replies: 2
Views: 4842

Re: Detecting and ignoring zoom mouse clicks

Thanks - that solved the problem.
by NielsUll
Wed May 10, 2017 1:58 pm
Forum: LightningChart Ultimate WPF
Topic: Detecting and ignoring zoom mouse clicks
Replies: 2
Views: 4842

Detecting and ignoring zoom mouse clicks

Hi! When the user clicks the left mouse button inside our ViewXY graph, we want to handle that (e.g. by centering a Band around the click). We do this by handling MouseClick and it works fine. We would also like to preserve the zoom functionality. But when the user zooms using press-drag-release, we...
by NielsUll
Thu May 04, 2017 7:48 am
Forum: LightningChart Ultimate WPF
Topic: Using StaticResource warns "Chart objects parent changed"
Replies: 1
Views: 8997

Using StaticResource warns "Chart objects parent changed"

We have several annotations and elements which use the same style. So we tried to specifiy these in a static resource, e.g. <UserControl.Resources> <lcusb:LineStyle Color="Black" Pattern="Dash" x:Key="CursorLineStyle"/> </UserControl.Resources> And use them like this: <...
by NielsUll
Thu Apr 27, 2017 7:44 am
Forum: LightningChart Ultimate WPF
Topic: Hiding "Units" in LegendBox3D
Replies: 1
Views: 3520

Hiding "Units" in LegendBox3D

Hi!

It is not quite clear how we hide the text "Units" in the LegendBox3D? We can set the UnitsColor to have an alpha of 0, but it will still take up space?
Or can we customize it to something else than "Units"?
by NielsUll
Tue Apr 25, 2017 1:15 pm
Forum: LightningChart Ultimate WPF
Topic: NRE when disposing chart with bound PointsLineSeries3D
Replies: 1
Views: 3929

NRE when disposing chart with bound PointsLineSeries3D

Hi! We are using SemibindableCharting, version 7.2.6.4001. We have a 3D chart and drawing a PointLineSeries3D with PointsCompact bound to a SeriesPointCompact3D[] array. When we dispose the chart, we get the error below - it seems the wpf is setting PointsCompact to null and the chart doesn't like t...
by NielsUll
Wed Mar 15, 2017 8:25 am
Forum: LightningChart Ultimate WPF
Topic: Correct implementation of FormatValueLabel?
Replies: 4
Views: 10968

Re: Correct implementation of FormatValueLabel?

Thank you - just what I needed!
by NielsUll
Tue Mar 14, 2017 4:36 pm
Forum: LightningChart Ultimate WPF
Topic: Correct implementation of FormatValueLabel?
Replies: 4
Views: 10968

Re: Correct implementation of FormatValueLabel?

I assume this would require us to rescale all the actual values?

That would be a bit impractical - the user might start with a plot from [-2;2] but then zoom in to see [-0.150 ; 0.150] - we need to show the labels as e.g. -150m, -100m, -50m, 0, 50m, 100m, 150m

So I don't think that would work?
by NielsUll
Tue Mar 14, 2017 2:40 pm
Forum: LightningChart Ultimate WPF
Topic: Correct implementation of FormatValueLabel?
Replies: 4
Views: 10968

Correct implementation of FormatValueLabel?

Hi! I need to implement a FormatValueLabel handler, since we need values displayed with SI suffixes for kilo, milli, giga etc - e.g. "23.451m" instead of "0,023451" or "2,3451E-2". However, I cannot figure out how many decimals to show? I tried to use FormatValueLabelEv...
by NielsUll
Thu Mar 09, 2017 10:41 am
Forum: LightningChart Ultimate WPF
Topic: Custom rendered annotation is not transparent in Light Gray
Replies: 2
Views: 4775

Custom rendered annotation is not transparent in Light Gray

Hi! When running your sample: XY view - Others - Custom rendering using the dark theme, the annotation background is transparent. :D But if you switch to the LightGray theme, it as not transparent? :evil: This is both for 7.2.5 and 8..0.1 Unfortunately, we want to use the LightGray theme AND we want...
by NielsUll
Mon Mar 06, 2017 12:38 pm
Forum: LightningChart Ultimate WPF
Topic: Chart keeps resizing axis - hangs UI thread
Replies: 4
Views: 7779

Re: Chart keeps resizing axis - hangs UI thread

Solved! Switching between rendering engine 9 and 11 didn't change anything. And the ChartError event is not raised. However, I finally noticed that we had set en event handlder on the xAxis.RangeChanged event. And the event handle would always put a new image in the CircleAnnotation.Fill.Bitmap. And...
by NielsUll
Mon Mar 06, 2017 7:34 am
Forum: LightningChart Ultimate WPF
Topic: Chart keeps resizing axis - hangs UI thread
Replies: 4
Views: 7779

Re: Chart keeps resizing axis - hangs UI thread

I will try to get a workable copy to you - I just have to get it cleared with the customer. We don't get any exceptions :-( I will try subscribing the ChartError and adjusting the devicetype. Mouse interaction is already disabled. I am a bit uncertain on how to use BeginUpdate/EndUpdate with MVVM an...
by NielsUll
Fri Mar 03, 2017 1:11 pm
Forum: LightningChart Ultimate WPF
Topic: Chart keeps resizing axis - hangs UI thread
Replies: 4
Views: 7779

Chart keeps resizing axis - hangs UI thread

Hi! Using 7.2.5.1 on .net 4.6.2, windows 7, 64 bit. We are using an XY plot. For certain sizes, it gets stuck in a loop continuosly updating the axis. This also freezes the UI thread. I have attached a small video clip showing it. It only happens for some plot sizes - most of the time it works fine,...
by NielsUll
Fri Mar 03, 2017 12:51 pm
Forum: LightningChart Ultimate WPF
Topic: Binding errors when disposing chart
Replies: 2
Views: 4576

Re: Binding errors when disposing chart

OK - setting the bound properties to null would unfortunately require a lot of code (and code maintenance), since we have many bindings.
So we will see if we can live with the warnings before we start doing this.
by NielsUll
Thu Feb 23, 2017 5:05 pm
Forum: LightningChart Ultimate WPF
Topic: Binding errors when disposing chart
Replies: 2
Views: 4576

Binding errors when disposing chart

Hi! We are using the semibindable library v 7, but we are getting some errors in the log when disposing the chart. I have tried modifying the sampe ExamplePointLineSeriesXY to bind the title of the x axis to a viewmodel string. When the m_chart.Dispose() is called (when switching to a different wind...
by NielsUll
Mon Jan 23, 2017 7:19 am
Forum: LightningChart Ultimate WPF
Topic: Overriding scaling decisions in YAxis Autofit
Replies: 3
Views: 12124

Re: Overriding scaling decisions in YAxis Autofit

I'm afraid this is not exactly what i was looking for. Assume we have s graph that's more or less a straight line from 0,0 to 100,100. Now, the user zooms in on the xrange to see [5;30]. In this case, I want the YAxis to adjust to [0;50]. When he then zooms further into [8;12], I want the YAxis to a...
by NielsUll
Fri Jan 20, 2017 10:56 am
Forum: LightningChart Ultimate WPF
Topic: Overriding scaling decisions in YAxis Autofit
Replies: 3
Views: 12124

Overriding scaling decisions in YAxis Autofit

Hi! For some xy graphs, we would like handle scaling in a customized way: The Y minimum should be 0 and the Y maximum should always be rounded up to 10^n, 2*10^n or 5*10^n. So 0.01, 200 or 5, but not 15 or 3.5 - in this case the axis should go to 20 or 5 respectively. Now, we can do the computation ...