Posted by & filed under Technical Tips.

 

[XML Code for Layout ]

<KoolChart backgroundColor=”#FFFFFF” borderStyle=”none”>

<Options>

<Legend defaultMouseOverAction=”false” useVisibleCheck=”true”/>

</Options>
<Column2DChart showDataTips=”true” >

<horizontalAxis>

<CategoryAxis categoryField=”Date” labelJsFunction=”ChristmasLabelFunc”/>

</horizontalAxis>
<verticalAxis>

<LinearAxis />

</verticalAxis>
<series>

<Column2DSet type=”stacked”>

<series>

<Column2DSeries yField=”Decoration-related” displayName=”Decoration-related”>

<showDataEffect>

<SeriesInterpolate/>

</showDataEffect>

</Column2DSeries>
<Column2DSeries yField=”Other” displayName=”Other”>

<showDataEffect>

<SeriesInterpolate/>

</showDataEffect>

</Column2DSeries>
<Column2DSeries yField=”Christmas tree-related” displayName=”Christmas tree-related”>

<showDataEffect>

<SeriesInterpolate/>

</showDataEffect>

</Column2DSeries>
<Column2DSeries yField=”Wrapping/unwrapping” displayName=”Wrapping/unwrapping”>

<showDataEffect>

<SeriesInterpolate/>

</showDataEffect>

</Column2DSeries>
<Column2DSeries yField=”Stocking-related” displayName=”Stocking-related”>

<showDataEffect>

<SeriesInterpolate/>

</showDataEffect>

</Column2DSeries>

</series>

</Column2DSet>

</series>
<annotationElements>

<CanvasElement>

<Label height=”50″ top=”10″ left=”10″ textAlign=”left” text=”Decoration-related injuries happened the most” fontSize=”13″ color=”#F26B39″ fontWeight=”bold”/>
<Label height=”50″ top=”60″ left=”420″ textAlign=”left” text=”On Christmas day,” fontSize=”13″ color=”#4E4A48″ fontWeight=”bold”/>
<Label height=”50″ top=”80″ left=”420″ textAlign=”left” text=”injuries from unwrapping gifts with knives” fontSize=”13″ color=”#4E4A48″ fontWeight=”bold”/>
<Label height=”50″ top=”100″ left=”416″ textAlign=”left” text=” and scissors are common” fontSize=”13″ color=”#4E4A48″ fontWeight=”bold”/>

</CanvasElement>

</annotationElements>
<backgroundElements/>

</Column2DChart>

</KoolChart>;