-
Notifications
You must be signed in to change notification settings - Fork 967
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
279 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
.charts-viewer { | ||
overflow: auto; | ||
} | ||
|
||
.charts-viewer .ui-message { | ||
position: absolute; | ||
width: calc(100% - 20px); | ||
z-index: 100; | ||
} | ||
|
||
.charts-description { | ||
margin-bottom: 20px; | ||
} | ||
.charts-description-image-td { | ||
vertical-align: top; | ||
} | ||
|
||
.charts-description-image { | ||
width: 50px; | ||
height: 43px; | ||
margin-right: 10px; | ||
} | ||
|
||
.charts-description-title { | ||
font-weight: bold; | ||
} | ||
|
||
.charts-description-text { | ||
word-wrap: break-word; | ||
} | ||
|
||
.charts-tooltip { | ||
position: absolute; | ||
text-align: center; | ||
padding: 3px 5px 3px 5px; | ||
font: 12px sans-serif; | ||
background: white; | ||
border: 1px solid gray; | ||
border-radius: 4px; | ||
pointer-events: none; | ||
} | ||
|
||
.charts-tooltip-first { | ||
font-weight: bold; | ||
text-align: left; | ||
padding-right: 5px; | ||
} | ||
|
||
.charts-viewport { | ||
height: inherit; | ||
min-height: 50px; | ||
} | ||
|
||
.charts-viewport .info { | ||
position: absolute; | ||
margin: 40px 20px 50px 10px; | ||
} | ||
|
||
.charts-viewport .text { | ||
position: relative; | ||
margin-left: 5px; | ||
top: -1px; | ||
font-size: 1.0em; | ||
display: inline; | ||
} | ||
|
||
.charts-viewport .icon { | ||
font-size: 1.2em; | ||
display: inline-block; | ||
} | ||
|
||
.charts-viewport .charts-viewport-container { | ||
float: left; | ||
display: block; | ||
height: 100%; | ||
} | ||
|
||
.charts-viewport .charts-viewport-canvas { | ||
display: block; | ||
width: 100%; | ||
min-height: 100px; | ||
height: inherit; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE visualization SYSTEM "../../visualization.dtd"> | ||
<visualization name="Bar diagram (NVD3)" regular="True"> | ||
<description>Renders a regular bar diagram using NVD3 hosted at http://www.nvd3.org.</description> | ||
<data_sources> | ||
<data_source> | ||
<model_class>HistoryDatasetAssociation</model_class> | ||
<test type="isinstance" test_attr="datatype" result_type="datatype">tabular.Tabular</test> | ||
<test type="isinstance" test_attr="datatype" result_type="datatype">tabular.CSV</test> | ||
<to_param param_attr="id">dataset_id</to_param> | ||
</data_source> | ||
</data_sources> | ||
<params> | ||
<param type="dataset" var_name_in_template="hda" required="true">dataset_id</param> | ||
</params> | ||
<entry_point entry_point_type="chart" src="static/nvd3bar.js"></entry_point> | ||
<groups> | ||
<color> | ||
<label>Pick a series color</label> | ||
<type>color</type> | ||
</color> | ||
<tooltip> | ||
<label>Data point labels</label> | ||
<type>data_column</type> | ||
<is_label>true</is_label> | ||
<is_auto>true</is_auto> | ||
</tooltip> | ||
<x> | ||
<label>Values for x-axis</label> | ||
<type>data_column</type> | ||
<is_label>true</is_label> | ||
<is_auto>true</is_auto> | ||
</x> | ||
<y> | ||
<label>Values for y-axis</label> | ||
<type>data_column</type> | ||
<is_numeric>true</is_numeric> | ||
</y> | ||
<key> | ||
<label>Provide a label</label> | ||
<type>text</type> | ||
<placeholder>Data label</placeholder> | ||
<value>Data label</value> | ||
</key> | ||
</groups> | ||
<settings> | ||
<x_axis_label> | ||
<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> | ||
</settings> | ||
</visualization> |
Oops, something went wrong.