forked from predictionmachines/InteractiveDataDisplay
-
Notifications
You must be signed in to change notification settings - Fork 0
DOM Plot
ElenaPochernina edited this page Jan 23, 2017
·
1 revision
An InteractiveDataDisplay plot which contains one or more div
elements, defined declaratively in HTML or added imperatively.
In HTML, DOM plot is indicated by the attribute data-idd-plot="dom"
.
<script type="text/javascript">
$(document).ready(function () {
var chart = InteractiveDataDisplay.asPlot($("#chart"));
});
</script>
<div id="chart" data-idd-plot="chart" style="width: 800px; height: 600px;">
<div id="dom" data-idd-plot="dom">
<div data-idd-position="0 0" data-idd-scale="none" style="width:150px; text-align:left;">
The first DOM element
</div>
<div data-idd-position="1.5 -1" data-idd-origin="0.5 0" data-idd-scale="none" style="width:150px; text-align:center;">
The second DOM element
</div>
<div data-idd-position="3 0" data-idd-origin="1 0" data-idd-scale="none" style="width:150px; text-align:right;">
The third DOM element
</div>
</div>
</div>
See the sample page DOM elements in a plot.
Home
FAQ
UI Guidelines
Export to SVG
Plot
Figure
Chart
ChartViewer
Polyline
Markers
Area
Heatmap
DOM Plot
Labels
Bing Maps
Intro
General bindings
Area plot
Bars plot
Polyline
Heatmap
Markers
Label plot
Box and whisker plot
Petals and BullEye plot
Axis
Palette Editor
Update layout
Axes
Legend
Color Palette
Navigation
Bound Plots
Tooltips and Probes