Solved

MSChart

Posted on 2001-06-18
3
414 Views
Last Modified: 2013-11-20
I tried to use MSChart ActiveX component in a HTML files, but all the times the values that are shown are randonly. can anybody give me an example of how can I use the this control in HTML?
I tried this way:


<HTML>
<HEAD>
  <TITLE>Chart Example</TITLE>
</HEAD>
<BODY>
<OBJECT ID=HChart CLASSID="clsid:3A2B370C-BA0A-11D1-B137-0000F8753F5D" WIDTH=500 HEIGHT=500>

 
</OBJECT>


<SCRIPT LANGUAGE="VBScript">
     Dim row As Integer
     Dim column As Integer
     Dim intArray(0,11) As Integer


    intArray(0,0) = 10

    intArray(0,1) = 20

    intArray(0,2) = 30

    intArray(0,3) = 40

    intArray(0,4) = 50

    intArray(0,5) = 60

    intArray(0,6) = 70

    intArray(0,7) = 80

    intArray(0,8) = 90

    intArray(0,9) = 100

    intArray(0,10) = 110


     'HChart.ChartType = VtChChartType3dBar
      'HChart.ColumnCount = 11
      'HChart.RowCount = 1
      'column = 1
       HChart.ChartData = intArray
       HChart.Visible = True
         'For row = 1 To 11
          '  HChart.Column = column
          '  HChart.Row = row
          '  HChart.Data = array(row)
         'Next
     
      ' Use the chart as the backdrop of the legend.
      'HChart.ShowLegend = True
      'HChart.SelectPart VtChPartTypePlot, index1, index2,index3, index4
      'HChart.EditCopy
      'HChart.SelectPart VtChPartTypeLegend, index1,index2, index3, index4
      'HChart.EditPaste
   

</SCRIPT>


</BODY>
</HTML>
0
Comment
Question by:Stanciu
  • 2
3 Comments
 
LVL 42

Accepted Solution

by:
sedgwick earned 50 total points
ID: 6201325
i suggest u to post your question on Web Development...
0
 
LVL 5

Expert Comment

by:Netminder
ID: 6754941
0
 
LVL 5

Expert Comment

by:Netminder
ID: 6803214
Admin notified of user neglect. Force/accepted by

Netminder
Community Support Moderator
Experts Exchange
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 48
how do i create updater to My Activex application? 3 79
NotAlone Challenge 20 79
unix example issues 18 73
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now