Pie chart example

Hi

I am new to Visual Basic, is there a way to create a Pie charts with four variables (20%, 30%,10%,20%,20%)

Thanks,

MK



Answer this question

Pie chart example

  • mr vice

    //with four variables (20%, 30%,10%,20%,20%)

    That's five variables :-)

    You have three options

    1 - buy a library ( the Dundas one is excellent

    2 - use a free library ( there are a few, I don't remember, but google knows )

    3 - write the code yourself ( which involves a bit of trig and lots of calls to the Graphics class, to draw onto a bitmap that you'd then display, or direct to the screen in a Paint event handler )



  • Anna Elise

    can you me show me an example of using Excel.

    Thanks,

    mk


  • Christian N

    I have Visual studio 2005, can I create Pie charts with Crystal ReportViewer control in Visual Basic 2005.

    thanks,

    mk


  • Baerin

    OK - that is a possibility. You could also remote control Excel, if you don't mind being dependant on it.



  • Pie chart example