JMSL Chart Programmer's Guide
XML >> Examples >> Line Chart  Previous Page  Contents  Next Page

XML Example: Line Chart

(Download Code)
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE Chart PUBLIC "-//Visual Numerics//DTD JMSL Chart//EN" "http://www.vni.com/products/jmsl/Chart.dtd">
<Chart>
    <ChartTitle>
        <Attribute name="Title">Line Chart</Attribute>
        <Attribute name="FontSize" value="14"/>
        <Attribute name="FontStyle" value="3"/>
    </ChartTitle>
    <AxisXY>
        <Data y="{6,5,7,1}">
            <Attribute name="LineColor" value="blue"/>
            <Attribute name="LineWidth" value="2.0"/>
            <Attribute name="DataType" value="DATA_TYPE_LINE|DATA_TYPE_MARKER"/>
            <Attribute name="MarkerType" value="MARKER_TYPE_HOLLOW_SQUARE"/>
            <Attribute name="Title" value="Blue Line"/>
            <ToolTip/>
        </Data>
        <Data y="{1,3,6,8}">
            <Attribute name="MarkerColor" value="darkblue"/>
            <Attribute name="DataType" value="DATA_TYPE_MARKER"/>
            <Attribute name="MarkerType" value="MARKER_TYPE_FILLED_CIRCLE"/>
            <Attribute name="Title" value="Markers"/>
            <ToolTip/>
        </Data>
    </AxisXY>
</Chart>


©  Visual Numerics, Inc.  All rights reserved.  Previous Page  Contents  Next Page