Configure pie chart colors

You can configure the colors used to represent maps, topics, images, and resources on statistics pie charts available through the Project Management view.

If you do not specify colors, red is used by default.
Figure: A statistics pie chart


To configure the pie chart colors:
  1. Open the TEXTML Administration perspective by clicking the TEXTML Administration shortcut on the tool bar. If the shortcut is not displayed, follow these steps:
    1. Select Window > Perspective > Open Perspective > Other
    2. Click TEXTML Administration.
    3. Click Open.
  2. In the TEXTML Administration view, double-click the server. If your server is not displayed in the view, you must add it to the view.
  3. When the Connect as dialog opens, type your username and password and click OK.
  4. Double-click the name of your Content Store to open a connection to it.
  5. In the repository's /system/conf collection, check out one of the following files:
    • map_status.xml to configure colors for the map portion of the chart.
    • topic_status.xml to configure colors for the topic portion of the chart.
    • image_status.xml to configure colors for the image portion of the chart.
    • resource_status.xml to configure colors for the resources portion of the chart.
    Note: These files are also used to configure the workflow used by all the documents in your Content Store, so they should be updated with care.
  6. Open the file with a text editor.
  7. Locate the element for the cycle to configure.
    For example, to configure the Authoring cycle, locate the Authoring element:
    <cycle name="Authoring" type="work" initial="true" level="0">
  8. For each <state> element under the cycle, enter the RGB values separated by semicolons to configure a pie chart color for that state.
    In the example below, the "done" state for a map document object has been configured in blue:
    <state name="done" type="end" level="6" color="0;0;255">
       <lockable>
          <objtypes>
             <type>none</type>
          </objtypes>
       </lockable>
       <milestone/>
       <nextStates>
          <next>draft</next>
       </nextStates>
    </state>
    Tip: There are several web sites that match colors with RGB values.
  9. When you have configured all the states for the document object, save, close, and check in the file.
  10. Repeat from Step 3 to configure colors for additional document objects.
    Tip: To make it easy for users to understand the pie chart, use consistent colors, perhaps in varying shades, for each state across all document objects (for example, blue for draft, yellow for edit/review, green for done).
  11. Inform users of the changes and request that they close and reopen their IXIASOFT CCMS Desktop to apply the changes.
To test your setup:
  1. Open the Project Management view.
  2. In the Project Management view, right-click a document map within a document project and select Show statistics.
  3. Verify that the pie chart colors are acceptable.