Chart styles

Use the styles included with the global report style sheet, GlobalReportStyles.css and GlobalReportStyles_10.css, to format charts.

When you create a new chart, use the following guidelines to match the existing chart reports.

  • Use the default width, unless there is more than one chart on the report. When you include multiple charts in a single report, set the chart width to 750px.
  • To use color palettes, copy and paste the strings from the table in Global report styles into the XML report specification.
  • If there are only two series on a chart and you display both the Y1 and Y2 axes, as a best practice you must match the colors to the first two palette colors for the axis labels.

The following example shows a chart that uses the global styles and has additional formatting applied.

Date formats for globalized versions

If you use a globalized version of the HCL® Marketing Software reports package, you see a different date format in your chart reports depending on which locale you use. Cognos chart reports use the date style short.

The following table shows the date formats for chart reports for all available locales.

Table 1. Cognos chart reports date formats for globalized versions

This two-columned table provides examples of the date format that is used by Cognos chart reports for globalized versions.

Locale Cognos chart reports date format example
English 3/18/14
Brazilian Portuguese 18/03/14
French 18/03/14
German 18.03.14
Italian 18/03/14
Japanese 14/03/18
Korean 14-03-18
Russian 18.03.14
Simplified Chinese 14-3-18
Spanish 18/03/14