Volume 3: Programming with the Visio Object Model disclaimer


Additional Resources – Data Graphics



Download 0.78 Mb.
Page25/36
Date29.01.2017
Size0.78 Mb.
#11974
1   ...   21   22   23   24   25   26   27   28   ...   36

Additional Resources – Data Graphics

Building Data Visualization Solutions with Visio 2007

A PowerPoint presentation giving an overview of the features of Visio 2007 from the Visio Developers conference in January, 2006. These are just the slides. No notes are included.

http://download.microsoft.com/documents/uk/msdn/download/devcon/Session_D3_Microsoft_Office_Visio_2007_New_Data_Visualisati.ppt

Demo: Let data tell its story with data graphics

An online demo showing the new features of Visio 2007.

http://office.microsoft.com/en-us/visio/HA101829791033.aspx


Q&A: With Microsoft Office Visio 2007, Every Picture Tells a Richer Story

While a picture may be worth a thousand words, having the right pieces of data associated with that picture can be invaluable to IT professionals and business managers in making better-informed decisions.

http://www.microsoft.com/presspass/features/2006/sep06/09-19visio2007.mspx


Data Graphics: visualizing data on your diagram

A high level review of applying and modifying data graphics

http://blogs.msdn.com/eric_rockey/archive/2005/12/14/503483.aspx



Visio 2007: Customizing Data Graphic Items

Creating a custom data graphic item

http://blogs.msdn.com/wmorein/archive/2006/06/15/632742.aspx



Visio 2007: More on Customizing Data Graphic Items: Icon Sets

Shows constructing and icon set including what is required in the ShapeSheet.

http://blogs.msdn.com/wmorein/archive/2006/07/14/665997.aspx


Building Custom Data Graphics for Visio 2007 

A very good article by Mark Nelson on creating and customizing data graphics. Several good examples and specific how to do it!

http://msdn2.microsoft.com/en-us/library/aa468596.aspx


Customizing Data Graphics

Provides good insight on why trying to apply formats to data graphics through the user interface gives unexpected results. The author also tells you how to solve the problem.

http://blogs.msdn.com/visio/archive/2007/01/02/customizing-data-graphics.aspx


Custom Formulas in Data Graphics

Nice example of creating a custom formula in a data graphic

http://blogs.msdn.com/visio/archive/2007/03/06/custom-formulas-in-data-graphics.aspx



About Displaying Data Graphically

http://msdn2.microsoft.com/en-us/library/aa342323.aspx

Review: Automating Data Graphics

Questions


  1. What new objects are added to the Visio object model to support data graphics?

  2. What two places in the Visio drawing environment can you see a data graphic?

  3. True or False. A good way to learn about automating data graphics is to use the macro recorder.

  4. What are the four types of data graphic items that can be displayed in a data graphic?

  5. What distinguishes a data graphic master from other masters in the masters collection?

  6. Data graphic masters that are callouts have what user-defined cell to describe what type of callout they are.

  7. Instead of referencing just a Shape Data row, a custom formula can be displayed in a data graphic item. In the object model, which method is used to set the custom formula?

  8. Additional fields can be added to a callout by adding rows to Shape Data. What naming convention is required to enable the data in these rows to be displayed as “Details” in the Edit Item dialog?

  9. What three user-defined cells are required for the icon set callout?

  10. What property of the shape is set to assign a data graphic?

  11. True or False. You can edit the data graphic master directly using automation.

  12. True or False. Data graphics are not very expensive in terms of size and performance in a drawing.

  13. What is a way to make a data graphic always be part of a drawing?

  14. How can you add a data graphic from one drawing to another drawing?

  15. Since Shape Data is used to create data graphics fields, how do we prevent these fields from being displayed in the Shape Data window?



Answers


  1. GraphicItem and GraphicItems

  2. The Data Graphic task pane and the Drawing Explorer window

  3. False. The macro recorder will not work with data graphics. If the macro recorder is started, the Data Graphics task pane is immediately closed and cannot be opened until the macro recorder is turned off.

  4. Text callout, data bar callout, icon set callout, and color by value.

  5. The data graphics master is hidden so that it does not show in the Document Stencil and the master type is visTypeDataGraphic.

  6. User.msvCalloutType which has values “Text Callout”, “Heading”, “Data Bar”, or “Icon Set”.

  7. SetExpression of the GraphicItem object.

  8. The Shape Data row name must start with msvCalloutProp…

  9. User.msvCalloutType, User.msvCalloutIconCount, User.msvCalloutIconNumber.

  10. The DataGraphic property.

  11. False. You most Open the data graphic master, which creates a copy. This copy can then be modified and when the master is closed the changes are pushed back to the master.

  12. False. Data graphics can be very expensive because a data graphic can be made up of several masters. When applied to many shapes in a drawing you can quickly double, triple, or more the size of the drawing.

  13. Add the data graphic to a template. Then it will exist in all drawings created from the template.

  14. Copy a shape that has the data graphic applied and then delete the shape. The data graphic will remain as part of the drawing.

  15. Shape Data rows have an Invisible cell which is set to True in the ShapeSheet.


Download 0.78 Mb.

Share with your friends:
1   ...   21   22   23   24   25   26   27   28   ...   36




The database is protected by copyright ©ininet.org 2024
send message

    Main page