heavyai-charting icon indicating copy to clipboard operation
heavyai-charting copied to clipboard

making crossfilter work for 'others' category

Open maulikit opened this issue 6 years ago • 1 comments

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)

maulikit avatar Sep 18 '18 10:09 maulikit

@maulikit Can you please provide a running example demonstrating the issue? Either via a live code site or by forking the provided examples in this repo. Thank you!

jonvuri avatar Feb 18 '19 02:02 jonvuri