Git Product home page Git Product logo

Comments (7)

sxt avatar sxt commented on May 18, 2024 5

I narrowed this down a bit - if you have an empty segment and there is a non-empty outer segment in the same quadrant, you will get the above javascript error.

from techradar.

sfudeus avatar sfudeus commented on May 18, 2024

I have a similar issue: When I add data for the top right or bottom left quadrant with a radius of >=100, the JS fails. Maybe this is identical, I suggest to try to stick with lower radius for testing it.
For top left and bottom right, larger radius is working fine ...

from techradar.

NetAppBlueDevil avatar NetAppBlueDevil commented on May 18, 2024

Looks like you need one item of < 100 radius in a quadrant or else the radar does not display

from techradar.

NetAppBlueDevil avatar NetAppBlueDevil commented on May 18, 2024

Looks like this is a bug in the underscore.js library that is causing the error if you have a quadrant with no items in it. Replacing the 1.5.2 version of the lib included in this project with the latest 1.8.2 version available seems to resolve the problem.

from techradar.

jdelaire avatar jdelaire commented on May 18, 2024

I have the same kind of issue, if I go above 200 in radius the graph won't render and w got the following javascript error:
TypeError: data is undefined inside protovis-d3.2.js
ps: I have upgraded to underscore 1.8.3 too

from techradar.

fffej avatar fffej commented on May 18, 2024

I've opened up a pull request with a fix for this. In radar.js, _.groupBy doesn't take into account groups that exist. I've hacked in a fill in the blanks style fix.

from techradar.

ohookins avatar ohookins commented on May 18, 2024

I can confirm that the fix from @fffej works for me. Would be great to merge it!

from techradar.

Related Issues (9)

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.