I'm using LightningChart 10.3.2.2 with non-bindable WPF in a .NET 6 project and I get an exception when defining more than 6 steps in ValueRangePalette for IntensityGridSeries. This issue can also be reproducable on the "Vertically scrolling palette-colored spectrogram" demo in the interactive example, so I'm not posting the stackstace.
For example, I'm defining 7 color steps for spectrogram's ValueRangePalette. When I ran my application, it throws an InvalidOperationException twice, with message "Sequence contains no matching elements." in System.Linq.dll.
I got curious and printed all resource names in the `Assembly.GetExecutingAssembly().GetManifestResourceNames()` on `RenderingEngine11.ReadEmbeddedResourceFile()` methods. When the ValueRangePalette steps are less than 7, the rendering engine tries to find the resources named
- Shaders.Precompiled.IntensityEffect2D_PSIntensityPixelMapSmoothPaletted_default.fxo
- Shaders.Precompiled.IntensityEffect2D_VSIntensityVc_default.fxo
- Shaders.Precompiled.IntensityEffect2D_PSIntensityPixelMapSmoothPaletted_CONTOUR_ENTRY_COUNT7.fxo
- Shaders.Precompiled.IntensityEffect2D_VSIntensityVc_CONTOUR_ENTRY_COUNT7.fxo
- Shaders.Sources.IntensityEffect2D.fx.Encrypted
Is this an expected behavior? Or am I missing something?
Thanks.