Skip to content

making crossfilter work for 'others' category #250

Description

@maulikit

I am working with rowchart, displaying 100 categories out of 200 and the rest as others.

There are two issues i am facing;

  1. I can see total data count of categories falling into 'others' category but without any label or rectangle
  2. on clicking it, the crossfilter doesnt return any new change and i get the below error logged to browser console.

index.js:2370 Uncaught Error: The error you provided does not contain a stack trace.

this.dcBarChart = dc.rowChart('div1')
.elasticX(true)
.cap(100)
.othersLabel('others')
.ordinalColors(barChartColorArray)
.measureLabelsOn(true)
.dimension(rowChartDimension)
.group(rowChartGroup)
.autoScroll(true)
.on('renderlet', (chart: any) => {
...somelogic
});
this.dcBarChart
.height(this.barchartHeight)
.width(this.barchartWidth)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions