raphael Questions

7

Solved

I need to draw concentric arcs of various sizes using raphael.js. I tried to understand the code behind http://raphaeljs.com/polar-clock.html, which is very similar to what I want, but, whithout co...
Pleasantry asked 21/2, 2011 at 0:55

1

Solved

I'm working on a project using raphaelJS, I'm trying to draw arrows at both ends of an arch and while I have the arch down, but it's hard to get arrows. Thanks in advance for any input! the issue...
Hessite asked 9/12, 2014 at 6:11

3

Solved

paper.rect(0, 0, settings.width, settings.height, settings.radius); Creates a nice rectangle with rounded corners. Is it possible to create a rectangle with just one round corner?
Geiger asked 21/7, 2010 at 20:54

3

Solved

I'm trying to rotate and scale shapes within an SVG around their center point. I've looked into several libraries, including Jquery, Greensock, D3, RaphaelJS, but I haven't been able to find any th...
Brewery asked 28/1, 2014 at 17:3

7

Solved

I'd like to create a linear transparent gradient to a div. Is there any way to do that with jquery? Or should I use some other library like raphaeljs? I'd like to achieve an effect like the followi...
Larose asked 28/10, 2010 at 17:1

2

Solved

I'm using Raphael.js. Everytime i load the page i get an error that reads: con is undefined x = con.x I looked up con in the Raphael documentation, and this is what i found: var con = R._getCon...
Galvin asked 12/1, 2012 at 16:28

1

I am new to svg and js. I have some svg files that have been drawn using pressure sensitive pens, and they have paths with fills inside them and are having duplicated paths( to contain the fills). ...
Kilocycle asked 30/12, 2013 at 21:19

2

I'm trying to adapt the growing pie demo on Raphaël's website to suit my own needs. http://raphaeljs.com/growing-pie.html The demo is almost perfect as it is, but I would like the user to be able ...
Obolus asked 14/10, 2011 at 14:34

2

I have defined my raphael paper like below: var paper = Raphael("my-paper", '100%', '100%'); //render some shapes on my paper var e = paper.ellipse(50, 50, 40, 20); var c = paper.circle(50, 50, 4...
Sauna asked 7/6, 2011 at 14:7

2

I have the need to display a couple of database tables' structure (4-5 tops) in a HTML page. I have to show the columns, mark the primary key and also draw the foreign keys connections (arrows I gu...
Abraxas asked 3/1, 2012 at 17:12

6

Solved

I am in need of a small script that will display an SVG (vector image) within a frame that has 2 functions; The image can be panned (moved around to look at different parts of the svg image...
Coif asked 26/2, 2010 at 3:49

7

I am trying to draw a simple Rectangle with some text on it. Since a shape cannot have text on it, I am creating a set with the same coordinates for the text and the rect objects. I need to change ...
Psychognosis asked 22/7, 2011 at 7:44

1

Solved

I'm using socket.io engine to track the mouse pointer movement from the browser and send it to multiple web browsers. Here I get the x, y coordinates of the mouse pointer and then send it using soc...
Celtic asked 6/7, 2014 at 18:3

2

I'm programming a debate-graph with Raphael JS. Users can add nodes to the graph. Eventually the graph gets really big and the canvas is still the same size. the canvas (in raphael js: paper) is in...
Carlettacarley asked 28/6, 2010 at 17:18

4

Solved

I'm using Raphaël.js to draw some small circles (2-4px radius), which is done through SVG on all browser except IE. The circles don't look smooth to me, so my question is: Is there some way to ad...
Unaccountable asked 14/6, 2010 at 14:33

5

How can I get the position of an object in Raphael? I can get the size using getBBox(), but there appears to be no way to get the position?
Louisalouisburg asked 25/10, 2010 at 21:40

3

Solved

I have seen graphs in Flash & stuff that basically adapt nicely to whatever the size of the browser or flexible element they are inside of.... I'm not really too well versed with raphaelJS but ...
Turning asked 18/10, 2010 at 20:4

4

Solved

In a library I am using I have the task of moving an element to the front of the dom when it is hovered over. (I make it bigger so I need to see it, then shrink it back when mouse out). The library...
Microgamete asked 10/9, 2010 at 15:52

1

Solved

I need to do something along the lines of this, but I with Snap.svg and with the ability to: Drag the entire group along the path Preserving spacing during the drag Allow group drag from any grou...
Consanguinity asked 21/5, 2014 at 2:45

2

Solved

Like my title says, I'm trying to programmatically creating an SVG image element in a HTML page using javascript. For some reason my basic javascript code isn't working, however if I use the raphae...
Punkah asked 15/7, 2011 at 1:7

2

Solved

I have a problem with raphaeljs export plugin ( https://github.com/ElbertF/Raphael.Export ). in a path element I use attribute fill and as a source I give a image url to fullfill. But when I expor...
Ellanellard asked 18/6, 2012 at 21:5

2

Solved

i have code like this but its not working var t = r.text(100, 100, 'test'); t.attr({font-size: 16}); giving me error missing : after property id here is documentation for raphael.js http://ra...
Fife asked 20/9, 2010 at 8:50

1

What I have: Text along a path made out of circle. It uses Raphael.js and a function called textOnPath (found here: Raphael JS Text Along path ): var pathTest = r.path(getCircletoPath(286, 322, ra...
Summers asked 18/11, 2013 at 11:48

3

Solved

I'm working on a web based editor where one can drag and resize elements. I've faces a problem regarding displaying 1px borders and elements: instead of pixel-to-pixel displaying (e.g. 1px solid li...
Pfaff asked 13/8, 2011 at 16:18

2

Solved

Can I put a Raphael.js canvas over an IMG element? What should I do make this layout work?
Wish asked 4/8, 2010 at 15:51

© 2022 - 2024 — McMap. All rights reserved.