Jump to content
Software FX Community

How to export/import charts with non ASCII characters


User (Legacy)

Recommended Posts

Posted

Hi!

We're having issues exporting a programmatically generated chart with

non ASCII characters to an XML file and re-import it.

The chart renders correctly with the non ASCII characters, if exported

to an PNG file (Chart #1 in the listing at the bottom of this email),

but after importing it from a previously exported XML file, all non

ASCII characters are missing in the chart.

To exemplify, I've attached a simple test case to this email.

The PNG file which is created at the position marked with //[Chart #2]

lacks all non ASCII characters!

More interestingly, the exported XML file is UTF-8 encoded and should

tread non ASCII characters correctly.

Is there another way of importing the chart from an XML file? Is this a

known issue or am I miss something here?

Thanks for any help,

Kurt

Listing:

public void testCreateChart(){

assertNotNull©;

c.setGallery(Gallery.SCATTER);

TitleDockable title = c.getTitle(0);

title.setText("Sc

Posted

Hi!

We're having issues exporting a programmatically generated chart with

non ASCII characters to an XML file and re-import it.

The chart renders correctly with the non ASCII characters, if exported

to an PNG file (Chart #1 in the listing at the bottom of this email),

but after importing it from a previously exported XML file, all non

ASCII characters are missing in the chart.

To exemplify, I've attached a simple test case to this email.

The PNG file which is created at the position marked with //[Chart #2]

lacks all non ASCII characters!

More interestingly, the exported XML file is UTF-8 encoded and should

tread non ASCII characters correctly.

Is there another way of importing the chart from an XML file? Is this a

known issue or am I miss something here?

Thanks for any help,

Kurt

Listing:

public void testCreateChart(){

assertNotNull©;

c.setGallery(Gallery.SCATTER);

TitleDockable title = c.getTitle(0);

title.setText("Sc

Posted

Hi, This look like a bug, we'll take a look at it.  In the meantime, you can 

try exporting/importing as BINARY_TEMPLATE, which should work fine.

Regards,

GA

"DI Kurt Edegger" <news_tmp1@edegger.com> wrote in message

news:USwOf1pHHHA.1040@webserver3.softwarefx.com...

> Hi!

>

> We're having issues exporting a programmatically generated chart with non

> ASCII characters to an XML file and re-import it.

> The chart renders correctly with the non ASCII characters, if exported to

> an PNG file (Chart #1 in the listing at the bottom of this email), but

> after importing it from a previously exported XML file, all non ASCII

> characters are missing in the chart.

>

> To exemplify, I've attached a simple test case to this email.

> The PNG file which is created at the position marked with //[Chart #2]

> lacks all non ASCII characters!

>

> More interestingly, the exported XML file is UTF-8 encoded and should

> tread non ASCII characters correctly.

>

> Is there another way of importing the chart from an XML file? Is this a

> known issue or am I miss something here?

>

> Thanks for any help,

>

> Kurt

>

> Listing:

>

> public void testCreateChart(){

> assertNotNull©;

> c.setGallery(Gallery.SCATTER);

>

> TitleDockable title = c.getTitle(0);

> title.setText("Sc

Posted

Hi, This look like a bug, we'll take a look at it.  In the meantime, you can 

try exporting/importing as BINARY_TEMPLATE, which should work fine.

Regards,

GA

"DI Kurt Edegger" <news_tmp1@edegger.com> wrote in message

news:USwOf1pHHHA.1040@webserver3.softwarefx.com...

> Hi!

>

> We're having issues exporting a programmatically generated chart with non

> ASCII characters to an XML file and re-import it.

> The chart renders correctly with the non ASCII characters, if exported to

> an PNG file (Chart #1 in the listing at the bottom of this email), but

> after importing it from a previously exported XML file, all non ASCII

> characters are missing in the chart.

>

> To exemplify, I've attached a simple test case to this email.

> The PNG file which is created at the position marked with //[Chart #2]

> lacks all non ASCII characters!

>

> More interestingly, the exported XML file is UTF-8 encoded and should

> tread non ASCII characters correctly.

>

> Is there another way of importing the chart from an XML file? Is this a

> known issue or am I miss something here?

>

> Thanks for any help,

>

> Kurt

>

> Listing:

>

> public void testCreateChart(){

> assertNotNull©;

> c.setGallery(Gallery.SCATTER);

>

> TitleDockable title = c.getTitle(0);

> title.setText("Sc

Posted

Hi,

thank you for your response. Unfortunately exporting to a binary format

is not an option, because we need the possibility to edit the templates

manually before they are imported.

Regards,

Kurt

SoftwareFX Support schrieb:

> Hi, This look like a bug, we'll take a look at it. In the meantime, you can

> try exporting/importing as BINARY_TEMPLATE, which should work fine.

>

> Regards,

> GA

>

>

> "DI Kurt Edegger" <news_tmp1@edegger.com> wrote in message

> news:USwOf1pHHHA.1040@webserver3.softwarefx.com...

>> Hi!

>>

>> We're having issues exporting a programmatically generated chart with non

>> ASCII characters to an XML file and re-import it.

>> The chart renders correctly with the non ASCII characters, if exported to

>> an PNG file (Chart #1 in the listing at the bottom of this email), but

>> after importing it from a previously exported XML file, all non ASCII

>> characters are missing in the chart.

>>

>> To exemplify, I've attached a simple test case to this email.

>> The PNG file which is created at the position marked with //[Chart #2]

>> lacks all non ASCII characters!

>>

>> More interestingly, the exported XML file is UTF-8 encoded and should

>> tread non ASCII characters correctly.

>>

>> Is there another way of importing the chart from an XML file? Is this a

>> known issue or am I miss something here?

>>

>> Thanks for any help,

>>

>> Kurt

>>

>> Listing:

>>

>> public void testCreateChart(){

>> assertNotNull©;

>> c.setGallery(Gallery.SCATTER);

>>

>> TitleDockable title = c.getTitle(0);

>> title.setText("Sc

Posted

Hi,

thank you for your response. Unfortunately exporting to a binary format

is not an option, because we need the possibility to edit the templates

manually before they are imported.

Regards,

Kurt

SoftwareFX Support schrieb:

> Hi, This look like a bug, we'll take a look at it. In the meantime, you can

> try exporting/importing as BINARY_TEMPLATE, which should work fine.

>

> Regards,

> GA

>

>

> "DI Kurt Edegger" <news_tmp1@edegger.com> wrote in message

> news:USwOf1pHHHA.1040@webserver3.softwarefx.com...

>> Hi!

>>

>> We're having issues exporting a programmatically generated chart with non

>> ASCII characters to an XML file and re-import it.

>> The chart renders correctly with the non ASCII characters, if exported to

>> an PNG file (Chart #1 in the listing at the bottom of this email), but

>> after importing it from a previously exported XML file, all non ASCII

>> characters are missing in the chart.

>>

>> To exemplify, I've attached a simple test case to this email.

>> The PNG file which is created at the position marked with //[Chart #2]

>> lacks all non ASCII characters!

>>

>> More interestingly, the exported XML file is UTF-8 encoded and should

>> tread non ASCII characters correctly.

>>

>> Is there another way of importing the chart from an XML file? Is this a

>> known issue or am I miss something here?

>>

>> Thanks for any help,

>>

>> Kurt

>>

>> Listing:

>>

>> public void testCreateChart(){

>> assertNotNull©;

>> c.setGallery(Gallery.SCATTER);

>>

>> TitleDockable title = c.getTitle(0);

>> title.setText("Sc

  • 2 months later...
Posted

Hi,

any news on this alleged bug?

We would need to put non-ascii characters in legends and titles.

Any ideas for workarounds except setting the properties programmatically with API calls?

 

Regards, Kurt 

Posted

The bug has been fixed and it'll be available in the next service pack, which will be released in a couple of weeks.  If you want a hotfix for testing please let me know and I'll send you the files. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...