Project

General

Profile

Actions

Feature #11915

open

change the parameters of plugin ChartRenderer

Added by Reynaud Sylvain almost 9 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Adaptors
Target version:
-
Start date:
02/03/2016
Due date:
% Done:

0%

Estimated time:

Description

Change supported parameters:
  • replace parameters "rotation", "width" and "height" with a map parameter "options" (key uses dot as a separator for subsections).
  • add list parameters "xAxis" and "yAxis" for assigning columns to x and y axis.
Actions #1

Updated by Reynaud Sylvain almost 9 years ago

<renderer type="ChartRenderer">
    <!-- optional: The chart types (Map) -->
    <parameter name="types">
        <entry key="column5">column</entry>
        <entry key="*">areaspline</entry>
    </parameter>
    <!-- optional: The stacking mode (none|normal|percent) -->
    <parameter name="stacking">none</parameter>
    <!-- optional: The chart axis mode (normal|inverted|polar) -->
    <parameter name="axis">normal</parameter>

    <!-- optional: axis -->
    <parameter name="xAxis">
        <entry key="column1">a tester (1)</entry>
        <entry key="column2">a tester (2)</entry>
    </parameter>
    <parameter name="yAxis">
        <entry key="column3">kg</entry>
        <entry key="column4">kg</entry>
        <entry key="column5">nb</entry>
    </parameter>

    <!-- optional: other options (Map) -->
    <parameter name="options">
        <entry key="key1.key2.key3">value</entry>
    </parameter>
</renderer>
<r:options stacking="none|normal|percent" axis="normal|inverted|polar">
    <r:x>
        <r:axis title="a tester (1)">
            <r:column type="areaspline">column1</r:column>
            <!--<r:column type="areaspline">column2</r:column>-->
        </r:axis>
        <r:axis title="a tester (2)">
            <r:column type="areaspline">column2</r:column>
        </r:axis>
    </r:x>
    <r:y>
        <r:axis title="kg">
            <r:column type="areaspline">column3</r:column>
            <r:column type="areaspline">column4</r:column>
        </r:axis>
        <r:axis title="nb">
            <r:column type="column">column5</r:column>
        </r:axis>
    </r:y>
    <r:sections>
        <r:section id="key1">
            <r:section id="key2">
                <r:option id="key3">value</r:option>
            </r:section>
        </r:section>
    </r:sections>
</r:options>
Actions

Also available in: Atom PDF