How to: |
You can easily customize the combination of icons in a set.
Important: Copy the entire "iconSets" section to keep the contents consistent. If you copy only part of the "iconSets" section, other procedures and WebFOCUS StyleSheets that refer to one of the predefined icon sets may produce reports, charts, or dashboards with missing icons.
Important: Copy the entire "default" subsection to keep the contents consistent. If you copy only part of the "default" subsection, or part of an individual icon property name or image file name, some icons in the set may not be defined or fully defined. Those icons will not appear in the active report, chart, or dashboard output. A partial icon definition can also cause a JavaScript error at run time.
You can also refer to the icon images in the tables in Icon Set Details.
This example replaces the default bar chart icon used in the chart tool bar with the original red bar chart icon.
The original red bar chart icon, which is 24 x 24 pixels in size, is supplied with the product. The image file is named irbar24.jpg. It resides in the \ibi\srv77\home\etc\ folder.
In the irpcfgu.js file, change the image file name of the "barIcon" property in the "myicons" subsection as follows.
{
"iconSets":{
.
.
.
"myicons":{
"sumIcon":"irdsum.png",
"pieIcon":"irdpie.png",
"barIcon":"irbar24.jpg",
.
.
.
},
.
.
.
}
}
When you run an active chart, the red bar chart icon appears in the chart tool bar, as shown in the following example.
WebFOCUS |