Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Feb 11, 2018
1 parent a0ad054 commit be3d222
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
</script>
${h.js('libs/jquery/jquery',
'libs/jquery/jquery-ui',
'libs/d3',
'bundled/libs.bundled',
'bundled/chart.bundled')}
<script type="text/javascript" src="${script_attributes.get("src")}"></script>
Expand Down
43 changes: 25 additions & 18 deletions config/plugins/visualizations/nvd3_bar/config/nvd3_shared.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,45 +22,51 @@
</exports>
</xml>
<xml name="groups">
<color>
<input>
<label>Pick a series color</label>
<name>color</name>
<type>color</type>
</color>
<tooltip>
</input>
<input>
<label>Data point labels</label>
<name>tooltip</name>
<type>data_column</type>
<is_label>true</is_label>
<is_auto>true</is_auto>
</tooltip>
<key>
</input>
<input>
<label>Provide a label</label>
<name>key</name>
<type>text</type>
<placeholder>Data label</placeholder>
<value>Data label</value>
</key>
</input>
</xml>
<xml name="groups_bar">
<x>
<input>
<name>x</name>
<label>Values for x-axis</label>
<type>data_column</type>
<is_label>true</is_label>
<is_auto>true</is_auto>
</x>
<y>
</input>
<input>
<name>y</name>
<label>Values for y-axis</label>
<type>data_column</type>
<is_numeric>true</is_numeric>
</y>
</input>
</xml>
<xml name="settings">
<x_axis_label>
<input>
<name>x_axis_label</name>
<label>X-Axis label</label>
<help>Provide a label for the axis.</help>
<type>text</type>
<value>X-axis</value>
<placeholder>Axis label</placeholder>
</x_axis_label>
<x_axis_type>
</input>
<input>
<name>x_axis_type</name>
<type>conditional</type>
<test_param>
Expand Down Expand Up @@ -228,15 +234,16 @@
<value>s</value>
</cases>
</cases>
</x_axis_type>
<y_axis_label>
</input>
<input>
<name>y_axis_label</name>
<label>Y-Axis label</label>
<help>Provide a label for the axis.</help>
<type>text</type>
<value>Y-axis</value>
<placeholder>Axis label</placeholder>
</y_axis_label>
<y_axis_type>
</input>
<input>
<name>y_axis_type</name>
<type>conditional</type>
<test_param>
Expand Down Expand Up @@ -404,6 +411,6 @@
<value>s</value>
</cases>
</cases>
</y_axis_type>
</input>
</xml>
</macros>

0 comments on commit be3d222

Please sign in to comment.