Results 1 to 3 of 3

Thread: Need serious help with MSChart

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2001
    Location
    Southern California
    Posts
    733

    Need serious help with MSChart

    This is the first time I have ever used the MSChart control and I'm having one hell of a time trying to figure it out.

    Does anyone know what the main properties and methods used are?

    Thanks!

  2. #2
    Addicted Member Supester's Avatar
    Join Date
    Nov 2001
    Location
    The Netherlands
    Posts
    220
    You can bind it to a 2 dimensional array

    TreeChart.ChartData = arrTable

    there are several types

    Treechart.ChartTypes

    VtChChartType3dBar = 0
    VtChChartType2dBar = 1
    VtChChartType3dLine = 2
    VtChChartType2dLine = 3
    VtChChartType3dArea = 4
    VtChChartType2dArea = 5
    VtChChartType3dStep = 6
    VtChChartType2dStep = 7
    VtChChartType3dCombination = 8
    VtChChartType2dCombination = 9
    VtChChartType2dPie = 14
    VtChChartType2dXY = 16


    include or exclude series
    Chart.Plot.SeriesCollection(intSeries).Position.Excluded = True

    Display legend
    Chart.Legend.Location.Visible = mblnLegendVisible

    Give a title
    Chart.Title = mstrTitle

    And you can set a number of properties at design-time which should also give you a good impression of what's possible

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2001
    Location
    Southern California
    Posts
    733
    Thanks....that helped a little bit!

Posting Permissions

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



Click Here to Expand Forum to Full Width