Coder Social home page Coder Social logo

Comments (7)

phillycoder avatar phillycoder commented on June 2, 2024

Same here, i prefer to not to set the width, so bootstrap fluid layout take care of the width. Its works fine with the charts, but seeing error on console Invalid value for attribute width="NaN" .

from angularjs-nvd3-directives.

cmaurer avatar cmaurer commented on June 2, 2024

I will move it up in priority.

from angularjs-nvd3-directives.

cmaurer avatar cmaurer commented on June 2, 2024

I just pushed an update that should fix this issue. My initial testing looked good. Please let me know if you have problems, etc.

Thanks,
Chris

from angularjs-nvd3-directives.

phillycoder avatar phillycoder commented on June 2, 2024

Looks good now..Thanks a lot..

from angularjs-nvd3-directives.

cmaurer avatar cmaurer commented on June 2, 2024

No problem. Thanks for following up.

Chris

from angularjs-nvd3-directives.

aleross avatar aleross commented on June 2, 2024

I'm still seeing this error when I don't set height/width using v0.0.7 - 2014-06-26. Error log below. I found issue #56 as well, is there anything I can do to prevent these error logs? Thanks for your time, this is great library.

Error: Invalid value for <svg> attribute viewBox="0 0 undefined undefined" d3.js:591
attrConstant          d3.js:591
(anonymous function) d3.js:884
d3_selection_each d3.js:890
d3_selectionPrototype.each         d3.js:883
d3_selectionPrototype.attr d3.js:580
checkElementID angularjs-nvd3-directives.js:796
$scope.d3Call angularjs-nvd3-directives.js:1351
nv.addGraph.generate angularjs-nvd3-directives.js:1379(anonymous function)

from angularjs-nvd3-directives.

rockydd avatar rockydd commented on June 2, 2024

Same here. got "Error: Invalid value for attribute viewBox="0 0 undefined undefined" d3.js:591" when don't set height/width.

from angularjs-nvd3-directives.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.