googlePiechart.xml 1.68 KB
<component>
    <name>google_piechart-datalet</name>
    <attributes>
        <attribute>
            <name>data-url</name>
        </attribute>
        <attribute>
            <name>fields</name>
        </attribute>
    </attributes>
    <idm>
        <inputs>
            <input>
                <name>Labels</name>
                <description>googlePiechartDescription</description>
                <scale>nominal</scale>
                <role>domain</role>
                <selection>11</selection>
            </input>
            <input>
                <name>Values</name>
                <description>The sizes of slices.</description>
                <scale>nominal</scale>
                <role>domain</role>
                <selection>11</selection>
            </input>
            <layouts>
                <input>
                    <name>_title</name>
                    <description>The label for the title of the chart</description>
                    <type>String</type>
                </input>
                <input>
                    <name>pieHole</name>
                    <description>You can create donut charts with this option; it is the size of the hole and it has a range between 0 and 1.</description>
                    <type>Number</type>
                    <validator>[0,1]</validator>
                </input>
                <input>
                    <name>is3D</name>
                    <description>You can create 3D charts with this option; if "true" pieHole will be ignored.</description>
                    <type>Boolean</type>
                </input>
            </layouts>
        </inputs>
    </idm>
</component>