I'm trying to create some custom zoom functionality in d3.js. Currently the zoom is triggered on a single click and zooms in to focus only on the area that was clicked on.   Currently my code has a function zoom(d) that does exactly what it needs...
I'm trying to adapt some code so I can plot data in a sunburst (using D3) chart with data coming from R as a dataframe.  I've got most of it working ok except the zooming part, when i click (almost) nothing happens.  On mouseOver I've got...
I want to zoom-in and zoom-out image on mouse scroll in HTML. There are multiple img tag without ID. So how can I do it using JavaScript or Ajax?...
Recently, I decided to delve into the world of HTML5 and the canvas and I have run into an issue that I cannot figure out how to solve.  I am using the zoom technique that was mentioned in this question, as I need to be able to zoom into a specific p...
I'm using the dc.js Library to create a Geo Choropleth map and couldn't add the ability to zoom in or out and move the map.  I already tried the code from the following thread: How to add zoom effect into dc.geoChoroplethChart?  But the zoom...
I have a map I've drawn in an SVG using d3, and the SVG is inside a viewbox, something like:  <svg id="mapcanvas" class="map-svg flow" viewBox="60 -20 800 500">      <defs>...</defs>     <g class="...
I just try to use the three.js to make a panorama slider, but I don't get the zooming effect.  I can't understand that how is possible. The viewSize that multiply to left, right, top and bottom to create a something near of a zoom effect.  Th...
I have been searching all of the net but I can not seem to find a simple opensource plugin which essentially provides a basic image cropping tool.  Here is the deal... I am essentially looking for exactly what "jcrop" provides example: http:/...
I need to upload an image to a canvas and make it able to pan and zoom. I was referencing GOK's answer here, but I ran into problems when trying to use an image. Using an image was made panning disabled and zooming would just...
Using fabric.js, when i use setZoom(), clipTo() is not responding and staying at the same width & height. Code works for objects inside canvas. I've already tested with zoomToPoint but didn't solve my problem.  function zoomIn() { zoomLev...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.