Hi,
In my application I have a feature that the user can export data,
I want to add an image of a chart to that export.
I tried to use "SaveToStream" which returned "false" and did nothing.
If I understand correctly, the chart must be rendered in order to save it to a stream?
I specifically interested in heat map conversion.
How can I achieve this using LightningChart: Converting my data to heat map and save it to stream. All of this on a background thread?
Is it possible at all?
Thanks!
Create a chart on a background thread
Moderator: Queue Moderators
-
- Posts: 557
- Joined: Mon Mar 14, 2016 9:22 am
Re: Create a chart on a background thread
In typical usage, chart should be rendered before using most of it functions.
However, LightningChart also has Headless Rendering feature. That is, Headless configuration allows running LightningChart in a headless/server environment. Expected scenarios include background rendering in software applications without User Interface (UI) and generation of a bitmap image from the chart content.
For more details, please check our User's Manual (http://www.arction.com -> Docs) chapter 21. Headless mode and corresponding Demo example.
Hope this helps.
However, LightningChart also has Headless Rendering feature. That is, Headless configuration allows running LightningChart in a headless/server environment. Expected scenarios include background rendering in software applications without User Interface (UI) and generation of a bitmap image from the chart content.
For more details, please check our User's Manual (http://www.arction.com -> Docs) chapter 21. Headless mode and corresponding Demo example.
Hope this helps.
Re: Create a chart on a background thread
That worked great, thanks!