Comments (1)
Elements like Gridlines, Bars and other Plots are ordered by z-index. Other div elements (axes for example) are added in a idd-figure-container
and they don't have z-index
. So that these elements are displayed below elements with z-index
:
Chart Viewer adds legend in a div for navigation, which is marked gray. This element has z-index: 1000
.
If you use Figure, you can add z-index
to a legend div:
<body>
<div id="chart" data-idd-plot="figure" data-idd-legend="legend" style="width: 800px; height: 600px;">
<div id="grid" data-idd-plot='grid' data-idd-placement='center' data-idd-style='stroke: DarkGray; thickness: 1px'></div>
<div id="axis1" data-idd-axis="numeric" data-idd-placement="bottom"></div>
<div id="axis2" data-idd-axis="numeric" data-idd-placement="left"></div>
<div data-idd-name="bars" data-idd-plot="markers"></div>
<div id="legend" data-idd-placement='center' style="float: right; z-index:1000"></div>
</div>
</body>
from interactivedatadisplay.
Related Issues (20)
- Update getBoundingBox signature
- idd.umd.d.ts & TypeScript 3.0.1 HOT 1
- Scientific notation for axis labels HOT 1
- {text-align:center} CSS brakes the chart
- Angled labels doesn't seem to work on a labelled axis HOT 1
- Figure is misaligned if initialized being inside hidden div HOT 1
- Tilted labels should be centered
- tooltip appearence delay
- Map related code in base plot
- Axis Label pool is never cleared HOT 1
- Multiple calling of getGesturesStream causes memory leak and duplicate gestures to happen.
- Area plot SVG representation are grayscale in Inkscape HOT 4
- SVG export of subplots in Firefox
- Vertical labels are not exported to SVG for chart export
- Legend export for Figure
- idd.umd dependencies HOT 3
- "jqueryui" vs "jquery-ui"
- Typo in iddUpper95 binding
- proper way of resizing an SVG plot?
- Boundary lines not working at zero
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from interactivedatadisplay.