Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

Problem with chartwidget flex viewer

$
0
0
hi guys,
i'm trying to use the chart widget.
Hi saw the tag example on the Help but i have a problem with the layout of chart.
if i set the config file in this way
HTML Code:

<configuration>
    <labels>
        <layerselectionlabel>Select layer</layerselectionlabel>
        <drawtoolmenulabel>Select draw tool</drawtoolmenulabel>
    </labels>
    <layers>
        <layer label="TRATTE" url="http://win-n4lcjvs1eib:6080/arcgis/rest/services/RFI/MDR/MapServer/1">
            <labelfield>OR_ID</labelfield>
            <fields>
                <field name="OR_ID"/>
                <field name="STATO_SISTEMA"/>
            </fields>
            <medias>
                <media caption="{=COUNT}"
                      chartfields="STATO_SISTEMA"
                      title="STATO SISTEMA TRATTE"
                      type="linechart"/>

            </medias>
        </layer>
</configuration>

i don't see the line chart. i see only the respons of count but not the chart.
Any help?
thanks

Viewing all articles
Browse latest Browse all 2097

Trending Articles