SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Sep 2002
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Post ChartSpace Object Using Javascript

    Im using a ChartSpace Object creating graphs but wanted to use JavaScript. Does anybody knows why the .SetData method of VB when converted to Javascript doesnt work? any answers or idea will be greatly appreciated!! Thanks!

  2. #2
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know. What does the .SetData method do? Are you defining it as a method in the JS?
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev




  3. #3
    SitePoint Member
    Join Date
    Sep 2002
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is the code.....

    var oCollect = oChart.SeriesCollection.Add();

    oCollect.Caption = "Previous Shift";
    oCollect.SetData(c.chDimCategories, c.chDataLiteral,Array("ONE","TWO"));

    oCollect.SetData(c.chDimValues, c.chDataLiteral, Array(2000, 500, 300, 150

  4. #4
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry, over my head. Don't know VB well enough to be of proper service here.
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev





Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •