Importing MapD Charting in Web Framework

Comments

5 comments

  • Avatar
    Jonathan Rajavuori

    @Dominic, could you please try this as a workaround for importing, and see if it works for your build system?

    import dc from 'mapd-charting/dist/mapdc';
    
    0
    Comment actions Permalink
  • Avatar
    Daprano, Dominic W

    Hey there, this fixed this first problem with importing, however dc seems to just be an empty object when I try to use it. When I try to call its methods they just don't exist.

    var dcBarChart = dc.rowChart('.chart1-example')
    
    // The error message
    TypeError: mapd_charting_dist_mapdc__WEBPACK_IMPORTED_MODULE_2___default.a.rowChart is not a function
    
    0
    Comment actions Permalink
  • Avatar
    Daprano, Dominic W

    If it helps at all, the suggestion that you made resolved all of the issues that I was having for mapd-crossfilter

    0
    Comment actions Permalink
  • Avatar
    Candido Dessanti

    @Dominic,

    thanks for the feedback; it will be probably useful for other users, so I want to give you a big thank for yyou contribution ;)

    0
    Comment actions Permalink
  • Avatar
    Richard Wood

    Very useful information for my work, thanks! :+1:

    0
    Comment actions Permalink

Please sign in to leave a comment.