ChartDirector 5.1 (PHP Edition)

JsChartViewer.msgContainer


Description

Gets or sets the default message container template.

The message container template will be used for chart messages that are not started with the
tag. The template should be written in HTML, using %msg as the place holder where the message should appear.

As an example, the default message container is as follows, which means a rectangle with a black border and light red background, with 8pt Verdana black color as the default font.

<div style="font-family:Verdana;font-size:8pt;font-weight:bold;padding:3 8 3 8;
    border:1pt solid #000000;background-color:#FFCCCC;color:#000000">
    %msg
</div>

Note: This is a static property (class property). It should be accessed as JsChartViewer.msgContainer, not objName.msgContainer.