Jump to content
Software FX Community

How to export/import charts with non ASCII characters


User (Legacy)

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 months later...

Archived

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

×
×
  • Create New...