Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

making crossfilter work for 'others' category #250

Open
maulikit opened this issue Sep 18, 2018 · 1 comment
Open

making crossfilter work for 'others' category #250

maulikit opened this issue Sep 18, 2018 · 1 comment

Comments

@maulikit
Copy link

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)

@jonvuri
Copy link
Contributor

jonvuri commented Feb 18, 2019

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants