Jump to content
Software FX Community

mainClient and Client Side interaction


User (Legacy)

Recommended Posts

Hi,

We've updated our development code to utilise the mainClient property for

ChartFX.NET to reduce the download time for the chart control, but now we

are experiencing issues with our client side VBscript that interacts with

the chart objects.

For example, using "[ChartName].Nvalues" is now producing an "Object does

not support this property or method" error - but with mainClient off, it

works fine.

Does using the mainClient property cause this issue?

Thanks in advance.

Grey

Link to comment
Share on other sites

When you use MainClient, [ChartName] is actually a MainClient object, in 

order to access the chart you have to do something like

[ChartName].Chart.NValues

Obviously you could do something like var chartObj = [ChartName].Chart; and

then use chartObj for the code that customizes the chart, this way you can

move back to mainClient OFF by changing that assignment and you are not

getting the Chart property every time you need to modify the chart.

--

JC

Software FX Support

"Grey" <Gproperjohn@snowdenau.com> wrote in message

news:HdSReINxFHA.1764@webserver3.softwarefx.com...

> Hi,

>

> We've updated our development code to utilise the mainClient property for

> ChartFX.NET to reduce the download time for the chart control, but now we

> are experiencing issues with our client side VBscript that interacts with

> the chart objects.

>

> For example, using "[ChartName].Nvalues" is now producing an "Object does

> not support this property or method" error - but with mainClient off, it

> works fine.

>

> Does using the mainClient property cause this issue?

>

> Thanks in advance.

>

> Grey

>

>

>

>

>

post-2107-13922378200259_thumb.jpg

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...