Comments (5)
See the screenshot below, this is what the html source-code looks like "via view source in Firefox". From this perspective I see the issue, since there are multiple p0_pieChart elements defined on the webpage. If I delete the last "g" tag with the class of p0_pieChart manually in Firefox at runtime "via Firebug", the transitioned-too graph looks like the desired result.
I then do a manual delete in Firebug, shown below.
Now, it looks like the desired result, and reflects the 2nd dataset I provided, see below.
from d3pie.
My temporary solution until the D3PIE API is upgraded, is the following code, it manipulates the transitioned-too HTML G tag in the onload function. I first add an additional line of code to the transitionToPie function as shown below. The downfall to this temp solution is that the end-user see's a visual glitch\refresh of the chart on the screen.
I then created this new function, shown below.
from d3pie.
Why, in the love of God, would you screenshot your code!? Please, throw this into a gist so people can use your work around if desired.
from d3pie.
tylerdance, sorry, totally agree with you, will post the code later this week. The post above is mine, have another account on this site.
from d3pie.
Sweet, let us know when you got it up. I'd be interested in taking a look. Thanks!
from d3pie.
Related Issues (20)
- Cannot read property 'hs' of undefined
- Cannot read property 'hs' of undefined
- size.pieOuterRadius does not respond as in examples
- sector doesnt close if new sector is selected
- Issues with Bootstrap 3 HOT 1
- Pie Labels Overlap HOT 2
- How to get the effect as mentioned in the image and what properties i need to change to get the effect when i click on segment.
- Label lines overlap when there are lots of small segments clustered at the bottom.
- Changeable text color in pie
- How to use it in react?
- Font-family is set to verdana in style attribute HOT 1
- Percentage values not staying equal distant from the chart
- Percentage values in equal distance from donut chart
- I cannot get this to work. HOT 1
- Why sometimes the d3pie does not draw sectors?
- I want to have external legend, how to achieve that? HOT 1
- how can I change the colour of the percentage label inside the pie segment?
- pie parameter missing HOT 1
- Site is down HOT 1
- d3pie integration with formtools or external php
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 d3pie.