Coder Social home page Coder Social logo

DataCount issues improper warning about dc.js HOT 3 OPEN

onelesd avatar onelesd commented on May 18, 2024
DataCount issues improper warning

from dc.js.

Comments (3)

kum-deepak avatar kum-deepak commented on May 18, 2024 1

Many thanks for the added details. This indeed is the case. The dashboard on http://dc-js.github.io/dc.js/ displays this behavior.

The BaseMixin code snippet that calls .dimension() is:

    applyFilters (filters) {
        if (this.dimension() && this.dimension().filter) {
            const fs = this._filterHandler(this.dimension(), filters);
            if (fs) {
                filters = fs;
            }
        }
        return filters;
    }

It will definitely be fixed in the dc-v5, we need to investigate if we can fix it in v4 easily.

from dc.js.

kum-deepak avatar kum-deepak commented on May 18, 2024

Tested this snippet with dc@4, was unable to reproduce this issue. Which version of dc are you using?

from dc.js.

onelesd avatar onelesd commented on May 18, 2024

The warning seems to be triggered by a call to dc.filterAll().

"node_modules/dc": {
  "version": "4.2.7",
  "resolved": "https://registry.npmjs.org/dc/-/dc-4.2.7.tgz",
  "integrity": "sha512-83vzVpBmXFCW7V2uVhBolcPX22d19k4GV7zJWu8jkyNhMstAb/XYl2Eld3Kp71eLD8YM9RsIRgtrmLViQeZTuQ==",
  "dependencies": {
    "d3": "^6.6.2"
  }
},

from dc.js.

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.