Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 949 - Export theme, huge size if base64 checkbox checked.
Summary: Export theme, huge size if base64 checkbox checked.
Status: RESOLVED NOTABUG
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: TeeChart for .NET 4.1.2013.11080
Hardware: PC Windows
: --- critical
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-08 06:06 EDT by sdgr
Modified: 2014-11-03 09:39 EST (History)
2 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
Two screenshots and an exported theme. (1.13 MB, application/x-zip-compressed)
2014-10-08 06:06 EDT, sdgr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sdgr 2014-10-08 06:06:07 EDT
Created attachment 299 [details]
Two screenshots and an exported theme.

Used TeeChart version: .NET 4.1.2013.11082

Hi,
I have a chart with 7 line series, nothing special.
If I go to the Editor of TeeChart and export the theme 
- without series base64, I get a file size = 7Kb
- with series base64, I get a file size = 9Mb !

I attached two screenshots and the exported theme (9 Mb).
Other charts in my application, having also a number of line charts, don't have such huge size.

Can you figure out the reason for this behaviour?
Thanks,
Stefan.
Comment 1 sandra pazos 2014-10-24 08:37:03 EDT
To reproduce the problem loads the client theme with the code below: 

Private void Form1_Load(object sender, EventArgs e)
        {
            tChart1.Import.Theme.Load(@"HugeSeries\Chart1.xml"); 
        }
Comment 2 christopher ireland 2014-11-03 09:39:04 EST
I do not consider this a defect, as the SaveWithBase64 property of the Theme class uses the Template export to export the entire chart to a stream, and then renders this stream as Base64 to save in a text file. I therefore consider the size of this theme as within expected parameters.