China vs. United States

Posted by & filed under Technical Tips.

[XML Layout for Doughnut Chart] <KoolChart backgroundColor=”#FFFFFF” borderStyle=”none”> <Options> <Caption text=”TOTAL POPULATION (1.385 billion)”/> </Options> <Pie2DChart id=”chart” innerRadius=”0.7″ showDataTips=”true”> <series> <Pie2DSeries nameField=”Age” field=”Population” startAngle=”-120″ renderDirection=”clockwise” labelPosition=”outside” labelJsFunction=”chinaLabelFunc” color=”#000000″> <showDataEffect> <SeriesSlide direction=”right” duration=”1000″/> </showDataEffect> </Pie2DSeries> </series> <backgroundElements> <CanvasElement> <Image source=”./man-and-woman.png” top=”80″ left=”200″ width=”180″ height=”200″/> <Label text=”48.2%” left=”230″ horizontalCenter=”0″ verticalCenter=”0″ fontSize=”20″ fontWeight=”bold” color=”#000000″ backgroundAlpha=”0″/> <Label text=”51.8%” left=”315″… Read more »

A matrix chart showing auspicious days in February, 2017 according to the lunar calendar

Posted by & filed under Technical Tips.

  [XML Code for Layout] <KoolChart backgroundColor=”#FFFFFF” borderStyle=”none”> <Matrix2DChart type=”fill”> <backgroundElements> <GridLines direction=”horizontal” horizontalChangeCount=”2″> <horizontalStroke> <Stroke color=”#000000″/> </horizontalStroke> </GridLines> </backgroundElements> <verticalAxis> <LinearAxis id=”vAxis” interval=”0.5″ maximum=”10″ labelJsFunction=”lunaVertiJsFunc”/> </verticalAxis> <horizontalAxis> <LinearAxis id=”hAxis” interval=”0.5″ maximum=”13″ /> </horizontalAxis> <series> <Matrix2DSeries xField=”Data1_x” yField=”Data1_y” zField=”Data1″ renderer=”rectangle” labelPosition=”inside” displayName=”2th” styleName=”seriesFont”/> <Matrix2DSeries xField=”Data2_x” yField=”Data2_y” zField=”Data2″ renderer=”rectangle” labelPosition=”inside” displayName=”3th” styleName=”seriesFont”/> <Matrix2DSeries xField=”Data3_x” yField=”Data3_y” zField=”Data3″… Read more »