4 ms·
Looks great for what it was designed to do! One question I'm trying to answer is how the overlays are generated. You mention they refer to an element tag, but t
by dmvaldman 15y ago
Looks great for what it was designed to do! One question I'm trying to answer is how the overlays are generated. You mention they refer to an element tag, but that still leaves me confused. Is there a template that is filled in with values? Is it a DOM element that I can add event handlers to?
Have you thought about making more powerful features, say, realtime adjustment of the axes, zooming, etc?
Personally I'm interested in having things like this for analytics. One thing I'd like to see is some kind of interaction with D3.js in case i wanted to visualize the data in other ways. Any ideas on integrating this with that library?
- oesmith 15y agoIt uses Raphaël.js to insert an SVG (or VML on old IE) element into the container. There's definite potential for hooking into DOM events, although there's no code to support that at the moment. Zooming/panning isn't something I've had a need for yet, the same for data bindings. There's no reason why they couldn't be integrated (although D3 could be a pretty serious job..)
- dmvaldman 15y agoI see. Have you considered rendering a Dom element in JavaScript instead of the SVG approach? As a developer I feel there is a lower barrier of entry for me because I pretty much don't need to understand SVG, or Raphael for that matter, to use your library otherwise, however I would like more control over the overlay elements. In any case, great work!
- justincormack 15y agoIf you want those things you should just use d3.js. It is simply not possible to do that with VML so the Raphael compatibility layer just gets in the way.