CHART control in VBScript 
Author Message
 CHART control in VBScript

Hi,

I am trying to use a MSCHART ActiveX control on a web page.
I can modify any of the control's properties, but when it comes to
change the DATA property the control doesn't repaint to reflect
the new value. I set ..RandomFill to FALSE and .Repaint to TRUE
but no effect. Can you help me to solve this problem ?

                                                           Thanks in
advance,

Lucky_guy.

eg.:
<SCRIPT language="VBScript">
        With ChartCtrl
            .RandomFill = false
            .Repaint = true
            .RowCount = 1
            .ColCount = 2
            .Row = 1
            .Col = 1
            .Data=150 ' No repaint is done here
            .Refresh     ' nor here
         End with
</SCRIPT>



Sun, 29 Aug 2004 22:26:06 GMT  
 CHART control in VBScript
Could you post the object reference, etc for this?
: Hi,
:
: I am trying to use a MSCHART ActiveX control on a web page.
: I can modify any of the control's properties, but when it comes to
: change the DATA property the control doesn't repaint to reflect
: the new value. I set ..RandomFill to FALSE and .Repaint to TRUE
: but no effect. Can you help me to solve this problem ?
:
:                                                            Thanks in
: advance,
:
: Lucky_guy.
:
: eg.:
: <SCRIPT language="VBScript">
:         With ChartCtrl
:             .RandomFill = false
:             .Repaint = true
:             .RowCount = 1
:             .ColCount = 2
:             .Row = 1
:             .Col = 1
:             .Data=150 ' No repaint is done here
:             .Refresh     ' nor here
:          End with
: </SCRIPT>
:
:


Mon, 30 Aug 2004 23:44:54 GMT  
 CHART control in VBScript
I have solved that problem using SetData method of the DataGrid Object. Now
I have another problem :
The control won't work on all of the users' browsers (IE5.0 with all
permissions enabled for the ActiveX Objects )
it works on computers I have installed VS 6.0 but not on others. Here is the
object refference. Pls. help.
<OBJECT classid="clsid:3A2B370C-BA0A-11D1-B137-0000F8753F5D" id=graphan
style="HEIGHT: 450px; WIDTH: 750px" >
</OBJECT>
I also tried :
<OBJECT classid="clsid:3A2B370C-BA0A-11D1-B137-0000F8753F5D" id=graphan
style="HEIGHT: 450px; WIDTH: 750px" codebase="mschrt20.ocx">
</OBJECT>
it installed the OCX but it not appears on the page.
<OBJECT classid="clsid:3A2B370C-BA0A-11D1-B137-0000F8753F5D" id=graphan
style="HEIGHT: 450px; WIDTH: 750px" codebase="mschrt20.cab">
</OBJECT>
same thing ...

Alex K. Angelopoulos <alex_angelopoulos_at_hotmail_dot_com_remove__> wrote

Could you post the object reference, etc for this?

: Hi,
:
: I am trying to use a MSCHART ActiveX control on a web page.
: I can modify any of the control's properties, but when it comes to
: change the DATA property the control doesn't repaint to reflect
: the new value. I set ..RandomFill to FALSE and .Repaint to TRUE
: but no effect. Can you help me to solve this problem ?
:
:                                                            Thanks in
: advance,
:
: Lucky_guy.
:
: eg.:
: <SCRIPT language="VBScript">
:         With ChartCtrl
:             .RandomFill = false
:             .Repaint = true
:             .RowCount = 1
:             .ColCount = 2
:             .Row = 1
:             .Col = 1
:             .Data=150 ' No repaint is done here
:             .Refresh     ' nor here
:          End with
: </SCRIPT>
:
:



Fri, 03 Sep 2004 17:56:27 GMT  
 CHART control in VBScript
Do you get any kind of error from this?  I'm not certain if the chart control requires licensing or not; I don't have VS 6 on my system and can't directly test this...

: I have solved that problem using SetData method of the DataGrid Object. Now
: I have another problem :
: The control won't work on all of the users' browsers (IE5.0 with all
: permissions enabled for the ActiveX Objects )
: it works on computers I have installed VS 6.0 but not on others. Here is the
: object refference. Pls. help.
: <OBJECT classid="clsid:3A2B370C-BA0A-11D1-B137-0000F8753F5D" id=graphan
: style="HEIGHT: 450px; WIDTH: 750px" >
: </OBJECT>
: I also tried :
: <OBJECT classid="clsid:3A2B370C-BA0A-11D1-B137-0000F8753F5D" id=graphan
: style="HEIGHT: 450px; WIDTH: 750px" codebase="mschrt20.ocx">
: </OBJECT>
: it installed the OCX but it not appears on the page.
: <OBJECT classid="clsid:3A2B370C-BA0A-11D1-B137-0000F8753F5D" id=graphan
: style="HEIGHT: 450px; WIDTH: 750px" codebase="mschrt20.cab">
: </OBJECT>
: same thing ...
:
: Alex K. Angelopoulos <alex_angelopoulos_at_hotmail_dot_com_remove__> wrote

: Could you post the object reference, etc for this?


: : Hi,
: :
: : I am trying to use a MSCHART ActiveX control on a web page.
: : I can modify any of the control's properties, but when it comes to
: : change the DATA property the control doesn't repaint to reflect
: : the new value. I set ..RandomFill to FALSE and .Repaint to TRUE
: : but no effect. Can you help me to solve this problem ?
: :
: :                                                            Thanks in
: : advance,
: :
: : Lucky_guy.
: :
: : eg.:
: : <SCRIPT language="VBScript">
: :         With ChartCtrl
: :             .RandomFill = false
: :             .Repaint = true
: :             .RowCount = 1
: :             .ColCount = 2
: :             .Row = 1
: :             .Col = 1
: :             .Data=150 ' No repaint is done here
: :             .Refresh     ' nor here
: :          End with
: : </SCRIPT>
: :
: :
:
:
:



Fri, 03 Sep 2004 20:41:15 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Temporal Paradox Tables, ReadOnly???

2. MS Chart control and (fake) Gantt charts-Basic question

3. Saving Chart from Chart Control to GIF Files

4. ASP charting solution -- no controls/images

5. ASP charting solution -- no controls/images

6. Please Help: How to save MS Chart Control Image to GIF /JPEG format

7. Chart control

8. Please Help: How to save MS Chart Control Image to GIF /JPEG format

9. Refresh single record in TTable

10. TP for W 1.5

11. Slerpinski Triangle

12. Hey .... Borland Pascal is not dead ... not really anyway ...

 

 
Powered by phpBB® Forum Software