ReportViewer switch between 2D and 3D graphs RRS feed

  • Question

  • I have a 3D graph on my report.

    Now I want to switch between 2d and 3d graph with my combobox where i have choices 2d or 3d.

    Hoe do I do this?
    • Moved by Harry Zhu Friday, March 12, 2010 3:11 AM I'm moving the thread relating to report controls. (From:Visual C# General)
    Tuesday, March 9, 2010 7:58 AM

All replies

  • You would handle the SelectedIndexChanged event of the ComboBox. In that event you put something like:

    if(SelectedItem == "2d")
        //Show 2d graph
        //Show 3d graph 

    Tuesday, March 9, 2010 3:48 PM
  • Matt has shown how to handle SelectedIndexChanged event of the ComboBox.
    Could you please show us how do you show 2d and 3d graph, so that we can provide more help?

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Wednesday, March 10, 2010 8:17 AM
  • I know how to handle comboBox.

    ReportViewer Tool in VS is what I'm using.

    I choose for the graph on my report 2D or 3D with properties of graph.

    Now i would like to switch this propertie programmatically..
    Wednesday, March 10, 2010 10:28 AM