How to change crystal graph type/color (iGraphObject) properties runtime

Posted on 2008-11-05
Last Modified: 2010-05-18
I want to change graph type run time with visual basic .net. Another way how to handle iGraphobject through in runtime mode. With this i want to change Graph Type, Graph Color and Horizintal/Vertical Position.
Question by:gprconsultants
    LVL 100

    Expert Comment

    I don't know if you can do that in the .Net version of Crystal.  I am not sure you can do it easily in the full version.

    ONe way to do this in rystal would be to have a graph of each type in the report then suppress all but the one the user wants.

    Colors are tough to control through the design interface.  I don't know if you can do this in Crystal.

    If you mean the position on the screen or the page then I don't think you can do this easily in Crystal.
    You could have some blank sections that you suppress or show to move the chart vertically but horizontally is not possible.

    You may wish to look into the charting add-on for Crystal from Three-D.  They developed the original Crystal charting and have enhanced the abilities through the add on product.


    Author Comment

    Thank for your suggestion. After thinking and trying i decided to develop separate file for each graph. But, still i'm looking for solution. I designed 14 types of graph reports for application. It is better if we handle iGraph object properties in run time mode. At least i want to set Graph Color Mode property such as Color/ Black & White to provide a accurate graph solution for DOT Matrix Printers users.
    LVL 100

    Expert Comment

    I'll try to raise Dan from ThreeD graphics to see if he can add anything.

    LVL 6

    Expert Comment

    Sorry mlmcc I don't have much to add.

    Our tool would make this very easy since we allow you to set graphtype, orientation and colors at runtime. Otherwise I think the developer is doing the best they can by having one chart with each possible outcome and then suppressing as needed.

    LVL 100

    Expert Comment

    Thanks, Dan.  I don't deal in charts much and then they are fairly simple ones.

    LVL 1

    Accepted Solution

    PAQed with points refunded (250)

    EE Admin

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
    Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    779 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

    15 Experts available now in Live!

    Get 1:1 Help Now