There seems to be a new issue with logarithmic scaling with IntensityGridSeries, in our application it looks like the geometry of the grid gets distorted:
Expected behaviour (LighningCharts 6.5.8):
LighningCharts 7.1.1 (7.0.18 identical):
Windows 7 pro 64bit SP1, Intel i7, 16GB RAM, GeForce GT 730, current drivers, two HD-monitors.
I created a minimal test application to reproduce it. While it is not as bad, I can still make out a few odd edges where there should be none.IntensityGrid and logarithmic Scaling
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: IntensityGrid and logarithmic Scaling
Hi!
could you send that app to our support by e-mail so we can take a deeper look?
could you send that app to our support by e-mail so we can take a deeper look?
LightningChart Support Team, PT
Re: IntensityGrid and logarithmic Scaling
[continued]
Sample code, tested with 6.5.8, 7.0.18 and 7.1.1 (change the references and use respective #define in Form1.cs)
It gets stranger: v7 does only render with PixelRendering=false and ScaleType.Linear. I can't figure out why it's working with v6 and in the v7.1-SDK's demo app though.
Sample code, tested with 6.5.8, 7.0.18 and 7.1.1 (change the references and use respective #define in Form1.cs)
It gets stranger: v7 does only render with PixelRendering=false and ScaleType.Linear. I can't figure out why it's working with v6 and in the v7.1-SDK's demo app though.
- Attachments
-
- AL_IntensityGrid_Logarithmic.zip
- Sample code
- (11.3 KiB) Downloaded 1416 times
Re: IntensityGrid and logarithmic Scaling
OK, I found out the problem:
I am using IntensityGridSeries.SetValuesData with data[][]. This only seems to be compatible with PixelRendering and not with Interpolation.
When I changed it to IntensityGridSeries.Data with IntensityPoint[,], it works as expected:
I am using IntensityGridSeries.SetValuesData with data[][]. This only seems to be compatible with PixelRendering and not with Interpolation.
When I changed it to IntensityGridSeries.Data with IntensityPoint[,], it works as expected:
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: IntensityGrid and logarithmic Scaling
That's right, SetValuesData is suitable only for PixelRendering. PixelRendering is suitable for linear axes only, because it uses GPU side texture, and that is naturally evenly spaced in screen space. I'm glad you were able to solve this ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
LightningChart Support Team, PT
Re: IntensityGrid and logarithmic Scaling
I'll try updating to 7.1.1 hoping that it won't break anything.
- Attachments
-
- AL_IntensityGrid_Logarithmic.zip
- Source code
- (11.33 KiB) Downloaded 1460 times
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: IntensityGrid and logarithmic Scaling
I sent you link to intermediate build 7.1.1.2 by e-mail. With that it looks like:
LightningChart Support Team, PT