Comments (5)
Solved it!!
from pie-chart.
@dasaanudeep, care to share with the rest of the community exactly how you solved it? That is, after all, the point of GitHub Issues.
from pie-chart.
The pie-chart will inherit css from parent
doing this :
<div style="width:150px;height:150px">
<pie-chart data="data" options="options"></pie-chart>
</div>
will give the svg 150px as width and 150px as height
And yeah thanks @dasaanudeep for sharing :p
from pie-chart.
argh after a very frustrating hour and a half of my life, i have discovered an issue with the chart height being within a div that contains an ng-show with variable value attribute. it completely ignores the height set, removing ng-show and the chart is the value i set.
changed implementation to jquery .show and .hide on a new class and that workaround was sufficient.
from pie-chart.
try an ng-if instead of ng-show
from pie-chart.
Related Issues (20)
- show value as currency in legend
- Legend positioning?
- Tag 1.0.0 on bower is from year 2013 HOT 1
- Chart isn't responsive HOT 1
- Labels in pie-chart
- Bootstrap HOT 1
- Publish to npm? HOT 2
- Pie chart Size HOT 2
- Documentation Issue: Spelling error and general confusion
- Pie-chart not visible if in <span> HOT 2
- memory leak issue
- When qty is 1, pie chart is not 100% filled
- Default pie chart sizes should be settable
- Updating value of chart
- gauge chart with multiple color HOT 1
- Errors on building (needs update on README.md)
- Error while using d3.js version 4.2.3 HOT 1
- Automatic sorting of values HOT 2
- Bump angular version?
- Using string interpolation for the data attribute value of the pie-chart directive. 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 pie-chart.