Jump to content
Software FX Community

Javascript, ActiveX Control and XML


User (Legacy)

Recommended Posts

Posted

I am using the XML extension to load data into a chart that is displayed in

a web page.

The web page uses a few simple javascript functions to show or hide the

various series in the chart.

the javascript looks something like this

function hideseries(n){

Chart1.Series(n).Visible=false;

}

function show series(n){

Chart1.Series(n).Visible=true;

}

This worked as expected when the data was read from arrays. But now that

the data is being read from an XML file odd behavior is observed.

Sometimes all the series disappear instead of one. The color of the series

in

the chart all turn black. Some series show point labels.

Is this a bug in version 5.5.3.0 of the XML extension or is there another

way

I should be showing and hiding series using javascript to access the activeX

control?

Thanks

Tarik Khan

Posted

This is a bug we are in the process of fixing. A work around is to make sure

before you assign the visible property of any series, you must first

initialize ALL the series to Visible = True.

--

FP

Software FX, Inc.

Archived

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

×
×
  • Create New...