Comments (9)
Indeed; I just experienced a similar bug, I'm using the pie chart to give newsletters statistics about how many time the links are clicked, but in my case I don't even have the black border, the pie just vanish.
from g.raphael.
FIX:
On line 23 of http://github.com/DmitryBaranovskiy/g.raphael/blob/master/g.pie.js
replace "stroke:opt.stroke" by "stroke:opts.stroke"
Should be better :)
from g.raphael.
I have the same problem and this fix does not fix it for me, still the same 1px black border.
from g.raphael.
in the minimized js file, replace "stroke:opt.stroke" with "stroke:o.stroke"
from g.raphael.
I have the same problem with one item. With the above changes nothing happens.
On firefox nothing shows up.
On Chrome the filled circle shows up, on hover it vanishes.
Any ideas why this is happening?
from g.raphael.
I resorted finally to do the changes as above in g.pie.js setting it to stroke:o.stroke though it didnt fix the problem. I set one of the other data as well to a fraction 0.001 and was able to get the chart shown as needed with 100% for the one which needs to show up but there is a very fraction which doesnt effect the chart for now.
Maybe this might help someone having a similar problem.
Mailtics.com
-vi
from g.raphael.
you can check it out at mailtics.com
from g.raphael.
The problem is that according to w3c's SVG spec (http://www.w3.org/TR/SVG/implnote.html#ArcOutOfRangeParameters) if the start and endpoint match, then no arc is drawn.
from g.raphael.
To anyone who needs to just put a dot (100% of a value for example):
The following commit solves this problem, as well as adding a couple of features for the pie chart. My group is extending this library for our cross-platform graphing library.
open-agroclimate/g.raphael@3fe60f3
Best of luck
from g.raphael.
Related Issues (20)
- Flag popup for piechart moving upward issue HOT 2
- Create version tag for 0.5.1 HOT 2
- if the chrt.axis[0].text.items contains more than 55 elements, it will erroneously show only 34 elements
- a_engine.create is null or not an objet error in Raphel-min.js file
- How to make border for barchart in left, right and top only ?
- Pie Charts - Slices ignore animation after pie was animated with "init"
- Pie Chart legends shows erroneous behaviour
- Opacity value with hover method HOT 1
- y-axis rescale bug HOT 4
- Paper.linechart() does not support valuesy > 10
- Unexpected axis scale when using the dotcharts. HOT 4
- [enhancement] Add missing bower.json. HOT 4
- about this project HOT 2
- Calling Raphael.g.axis positions at different spacings with different browsers
- interactive pie chart in g.raphael js
- Axis of linechart is incorrectly drawn in chrome
- Is it time to add new life to this project? HOT 3
- Something important is not in the DOCUMENTATION.
- One legend for two or more charts (pie)
- no license HOT 1
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 g.raphael.