Comments (6)
Yup, shouldn't be too hard. Will add this soon.
from angular-charts.
Issue fixed.
from angular-charts.
I have set CSS h/w but still getting Please set height and width for the chart element ?
from angular-charts.
I'm in the same boat:
var totalWidth = element[0].clientWidth;
var totalHeight = element[0].clientHeight;
always return zero. I suspect that perhaps the link function is being called prior to that portion of the page being rendered, so the values are zero. I've tried applying the width/height properties to an ID, via class, and inline via style="", and in any of the the cases clientWidth and clientHeight still return zero. Will continue investigating.
from angular-charts.
I debugged this further, and at least in my case, is related to Angular bootstrap-ui tabs being used. Then I ran into this posting:
from angular-charts.
I have looked at the plunker and tried to fork this with AngularJS v1.4.6 (It was using AngularJS v1.2.2) then its not working.
Can any one guide here if it is working on latest angularjs versions
from angular-charts.
Related Issues (20)
- Pie Chart Radius
- Typeerror on IE11
- bower install error - ECONFLICT Unable to find suitable version for d3
- It doesn't work with AngularJS 1.4.* HOT 1
- Customize tootlip value for a Pie Chart HOT 1
- Syntax Error on Legend ng-show
- Charts can't be displayed within tabs HOT 3
- Y-Axis Scale
- It works with angular 1.2.28 but not with 1.4.8 HOT 1
- legend width
- 'Please set height and width for the chart element' on window resize HOT 2
- Issue in makeToolTip function of angular-chart.js
- Why doesn't the Pie chart show multiple y axis values?
- Multi-Series Grouped and Stacked Bar Chart HOT 1
- missing parameter d in call of function updateToolTip
- if title is false height ist not correct in setContainers
- How to display date on lable?
- How to add different colors to each bars in BarChart
- About adding units to the angular-charts on the X-axis and Y-axis.
- Please set height and width for the chart element for example code with AngularJS 1.7.6
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 angular-charts.