Jump to content
Software FX Community

serializing charts


User (Legacy)

Recommended Posts

(reposting in this group, because there was no answer in the beta 

newsgroup for a week now)

Hi,

I'm evaluating CS62 as an upgrade to our existing 5.x chart and have

come across problems when serialising the charts. It seems as though

many properties of the charts aren't being serialised. A couple of

really obvious ones are the titles of the chart and axes.

We are using the chart inside an activereports ocx and we are setting

the chart properties via C++. This has worked fine for all other

activex controls (including the older version of ChartFX)

For example, we are setting the title with code like this:

m_pChart->Titles->Item[0]->PutText(str);

(where str is a BSTR)

This does take effect in the chart and we can see the new title. If we

save the chart (via activereports), then when we bring it back this

title is now blank.

I have noticed, that SOME properties do get saved - but these all seem

to be the simple properties that are accessible via the normal VB

designer (eg gallery, shapes, basic colours, etc). It seems the complex

properties like titles, series and axis are not saved.

Cheers,

Steve.

Link to comment
Share on other sites

(reposting in this group, because there was no answer in the beta 

newsgroup for a week now)

Hi,

I'm evaluating CS62 as an upgrade to our existing 5.x chart and have

come across problems when serialising the charts. It seems as though

many properties of the charts aren't being serialised. A couple of

really obvious ones are the titles of the chart and axes.

We are using the chart inside an activereports ocx and we are setting

the chart properties via C++. This has worked fine for all other

activex controls (including the older version of ChartFX)

For example, we are setting the title with code like this:

m_pChart->Titles->Item[0]->PutText(str);

(where str is a BSTR)

This does take effect in the chart and we can see the new title. If we

save the chart (via activereports), then when we bring it back this

title is now blank.

I have noticed, that SOME properties do get saved - but these all seem

to be the simple properties that are accessible via the normal VB

designer (eg gallery, shapes, basic colours, etc). It seems the complex

properties like titles, series and axis are not saved.

Cheers,

Steve.

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

Any answer for this?????

Steve

Steve wrote:

> (reposting in this group, because there was no answer in the beta

> newsgroup for a week now)

>

> Hi,

>

> I'm evaluating CS62 as an upgrade to our existing 5.x chart and have

> come across problems when serialising the charts. It seems as though

> many properties of the charts aren't being serialised. A couple of

> really obvious ones are the titles of the chart and axes.

>

> We are using the chart inside an activereports ocx and we are setting

> the chart properties via C++. This has worked fine for all other

> activex controls (including the older version of ChartFX)

>

> For example, we are setting the title with code like this:

> m_pChart->Titles->Item[0]->PutText(str);

> (where str is a BSTR)

>

> This does take effect in the chart and we can see the new title. If we

> save the chart (via activereports), then when we bring it back this

> title is now blank.

>

> I have noticed, that SOME properties do get saved - but these all seem

> to be the simple properties that are accessible via the normal VB

> designer (eg gallery, shapes, basic colours, etc). It seems the complex

> properties like titles, series and axis are not saved.

>

> Cheers,

> Steve.

Link to comment
Share on other sites

Hi,

Any answer for this?????

Steve

Steve wrote:

> (reposting in this group, because there was no answer in the beta

> newsgroup for a week now)

>

> Hi,

>

> I'm evaluating CS62 as an upgrade to our existing 5.x chart and have

> come across problems when serialising the charts. It seems as though

> many properties of the charts aren't being serialised. A couple of

> really obvious ones are the titles of the chart and axes.

>

> We are using the chart inside an activereports ocx and we are setting

> the chart properties via C++. This has worked fine for all other

> activex controls (including the older version of ChartFX)

>

> For example, we are setting the title with code like this:

> m_pChart->Titles->Item[0]->PutText(str);

> (where str is a BSTR)

>

> This does take effect in the chart and we can see the new title. If we

> save the chart (via activereports), then when we bring it back this

> title is now blank.

>

> I have noticed, that SOME properties do get saved - but these all seem

> to be the simple properties that are accessible via the normal VB

> designer (eg gallery, shapes, basic colours, etc). It seems the complex

> properties like titles, series and axis are not saved.

>

> Cheers,

> Steve.

Link to comment
Share on other sites

  • 2 weeks later...

I apologize for our delay fixing this issue, a new hotfix is available that 

fixes this. Please contact support at softwarefx for details on getting the

hotfix.

--

JC

Software FX Support

"Steve" <steve@metech.com.au> wrote in message

news:vfugFU7xFHA.3776@webserver3.softwarefx.com...

> Hi,

>

> Any answer for this?????

>

> Steve

>

>

> Steve wrote:

>> (reposting in this group, because there was no answer in the beta

>> newsgroup for a week now)

>>

>> Hi,

>>

>> I'm evaluating CS62 as an upgrade to our existing 5.x chart and have come

>> across problems when serialising the charts. It seems as though many

>> properties of the charts aren't being serialised. A couple of really

>> obvious ones are the titles of the chart and axes.

>>

>> We are using the chart inside an activereports ocx and we are setting the

>> chart properties via C++. This has worked fine for all other activex

>> controls (including the older version of ChartFX)

>>

>> For example, we are setting the title with code like this:

>> m_pChart->Titles->Item[0]->PutText(str);

>> (where str is a BSTR)

>>

>> This does take effect in the chart and we can see the new title. If we

>> save the chart (via activereports), then when we bring it back this title

>> is now blank.

>>

>> I have noticed, that SOME properties do get saved - but these all seem to

>> be the simple properties that are accessible via the normal VB designer

>> (eg gallery, shapes, basic colours, etc). It seems the complex

>> properties like titles, series and axis are not saved.

>>

>> Cheers,

>> Steve.

Link to comment
Share on other sites

I apologize for our delay fixing this issue, a new hotfix is available that 

fixes this. Please contact support at softwarefx for details on getting the

hotfix.

--

JC

Software FX Support

"Steve" <steve@metech.com.au> wrote in message

news:vfugFU7xFHA.3776@webserver3.softwarefx.com...

> Hi,

>

> Any answer for this?????

>

> Steve

>

>

> Steve wrote:

>> (reposting in this group, because there was no answer in the beta

>> newsgroup for a week now)

>>

>> Hi,

>>

>> I'm evaluating CS62 as an upgrade to our existing 5.x chart and have come

>> across problems when serialising the charts. It seems as though many

>> properties of the charts aren't being serialised. A couple of really

>> obvious ones are the titles of the chart and axes.

>>

>> We are using the chart inside an activereports ocx and we are setting the

>> chart properties via C++. This has worked fine for all other activex

>> controls (including the older version of ChartFX)

>>

>> For example, we are setting the title with code like this:

>> m_pChart->Titles->Item[0]->PutText(str);

>> (where str is a BSTR)

>>

>> This does take effect in the chart and we can see the new title. If we

>> save the chart (via activereports), then when we bring it back this title

>> is now blank.

>>

>> I have noticed, that SOME properties do get saved - but these all seem to

>> be the simple properties that are accessible via the normal VB designer

>> (eg gallery, shapes, basic colours, etc). It seems the complex

>> properties like titles, series and axis are not saved.

>>

>> Cheers,

>> Steve.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...