raphael Questions

4

Solved

I am using the Raphaël JavaScript Library to create SVG elements in an HTML page and using CodeIgniter as a PHP framework. In the CodeIgniter framework I need to add a <base> tag in the head ...
Salad asked 13/10, 2011 at 19:24

4

Solved

How can i rescale all the element inside a Raphael canvas on window change ? considering the following code / DEMO if i re-size my window only div container scaled since i set its width to 50% of ...
Prying asked 24/6, 2012 at 9:40

2

Solved

I have this piece of code (on jsfiddle) var paper = new Raphael('holder', 400, 100); var set = paper.set(); for(var i = 0; i < 10; i++) { var circle = paper.circle((i * 30) + 30, 20, 5); ci...
Nerta asked 5/7, 2012 at 16:41

2

Solved

I am using raphael.js library and this file contains a mouseover event which I want to stop working. Can anyone help me?
Floatation asked 29/10, 2015 at 5:52

3

I need some help with my script in which I would like to detect RMB click. INFO: finally I want to display my own right-click menu on a dedicated SVG shape, which is displayed with a use of Raphae...
Callisthenics asked 7/7, 2011 at 4:55

3

Solved

I would like to use D3.js (or maybe Raphaël) for backend-generated reports using XSL-FO with Java. These JavaScript libraries should be used for several reasons: They render more beautiful charts...
Golanka asked 4/7, 2012 at 14:31

2

$(document).ready(function(){ $("#btnAO").live("click", function(){ $("#canvasdiv").append("<div id='id1' width='50px' height='50px'></div>"); $("#id1").append(new Raphael(document....
Amrita asked 15/6, 2012 at 12:33

2

Solved

I'm using Raphael to draw an object, then transferring it to an HTML canvas element with canvg so that I can use toDataURL to save it as a PNG. But when I use canvg, the resulting image is blurry. ...
Lindsy asked 24/6, 2014 at 19:48

2

I've been using Raphael JS (…it's brilliant). I was just wanting to understand how I can add a background-image and background-size (cover) to my SVG path I created with Raphael. Is this at all pos...
Wholewheat asked 26/6, 2015 at 18:56

2

Solved

I'm trying to draw regular polygons(square and equilateral triangle) inscribed in a circle of a given centre (x,y) and a radius (r). I'm using raphael.js. Here's my function to draw a inscribed sq...
Beaconsfield asked 26/6, 2015 at 3:36

2

Anyone know of function that can break text at word boundaries to fit into rectangle Following is code for rectangle and text window.onload = function () { var outsideRectX1=30, outsideRectY1...
Katlynkatmai asked 7/1, 2012 at 17:34

5

I'm creating an SVG text box using the Raphael library, and filling it with a dynamic string which is extracted from an XML document. Sometimes, this string is longer than the canvas I am placing ...
Grizelda asked 29/6, 2010 at 15:7

0

I use RaphaelJS for generate SVG. My SVG is 1024px width and height. I use setViewBox because the div containing it is more small than 510px width and height. With IE8 RaphaelJS produces VML but s...
Dialogism asked 24/4, 2015 at 8:33

1

Solved

I'm attempting to write a RaphaelJS function that will take existing text nodes within a Raphael paper instance and convert them into paths. The goal is to replicate the position, size and attribu...
Novikoff asked 26/5, 2014 at 20:25

1

I have been able to drag and drop element within same paper. Now I need to be able to drag and drop raphael element from one paper container to another. Here is the example: drag from first svg to...
Joo asked 4/3, 2013 at 22:58

5

Solved

Is there any way to get the SVG path string off a Photoshop custom shape or path? Or is there another way to get/construct similar data? I'm looking to do something similar to this: http://raphael...
Kink asked 24/3, 2011 at 1:28

2

Solved

I have a path for the RaphaelJS library, I can't seem to get the fill to change its color. var mypage = ScaleRaphael('mainContainer', 1000, 1000); mypage.setStart(); mypath.path('M794.33,21.5l152...
Skinnydip asked 1/12, 2012 at 15:1

2

Solved

I want to crop image over another image like a pie-chart to create a loading animation. I was thinking of using raphaeljs, but couldn't find any information about image cropping in pie-chart style....
Hoarfrost asked 18/3, 2015 at 19:38

6

Solved

I was wondering how I can make a simple bar chart that perhaps has day as the x-axis, with values 'today' and 'yesterday', and the y-axis as perhaps 'time' with corresponding values '1' and '2'. I ...
Amarette asked 13/1, 2011 at 12:1

5

Solved

I am trying to set up a hover for a raphael element so that when the mouse is on the element, it has a glow and when the mouse leaves, the glow is removed. I have figured out how to add the glow, b...
Wilmawilmar asked 26/11, 2011 at 1:55

3

Solved

I am using Raphael to create a dynamic visualization. Is it possible to allow the image generated on the Canvas to be downloaded as a SVG/PDF or another image format?
Anchorage asked 15/5, 2011 at 18:25

1

I'm trying to set the background-image css property to encoded data URI content as shown in this fiddle It works as expected for all browsers I tested. The only browser that doesn't show the conte...
Abercromby asked 24/6, 2013 at 6:55

3

I'm gathering some info for a project that has to start within a few weeks. This project contains a browser-based drawing tool where users can add predefined shapes or forming shapes themselves. Sh...
Blink asked 9/10, 2013 at 10:34

1

Solved

I cannot add symbols in my svg map. This is the metadata of my svg: <metadata><views> <view h="720.449987754" padding="0" w="1400"> <proj flip="auto" id="robinson" lon0="-49...
Peltast asked 6/1, 2015 at 13:42

4

Solved

Hi RaphaelJS users =) , I have maybe a dumb-ish question, but I can't seem to find the answer, the thing is, I'm trying to load/create an image with Raphael, that's fine, like this: var image_1 =...
Maye asked 29/5, 2012 at 16:1

© 2022 - 2024 — McMap. All rights reserved.