All Questions
896
questions
0
votes
0
answers
17
views
Dc.js Filling an area with a gradient
I want to fill the area of a line chart with a gradient, so that the bottom of the gradient is transparent. How can we do that?
cumulativeChart /*dc.lineChart('#cumulative-chart', 'chartGroup')*/
....
0
votes
1
answer
35
views
uncaught TypeError: reduceInitial is not a function
I have an error that I cannot understand. It looks like I forgot to load a library but I've gone through all the available d3 libraries I can't see which library has reduceInitial as a function.
I use:...
1
vote
0
answers
51
views
dc.js 4.2.7 pieChart with legend having extra space
I am using dc.js to create some charts and one of the pie charts with legend is having issue with the whitespace.
I have tried fixing it by adjusting the width attribute of the pie chart but it didn't ...
1
vote
0
answers
35
views
Multiple Control Spans/ Ranges, one dimension in dc.js or crossfilter
I was wondering if it's possible to create multiple simultaneous control span filters in dc.js or crossfilter for a single dimension (e.g., something like the picture below).
I was hoping you could ...
2
votes
1
answer
192
views
Dc.js conflicts with Bootstrap styles on rowchart
I'm building a dashboard using dc.js/d3.js/crossfilter/bootstrap but I'm stuck on building a row chart.
The problem is that all the rows of the chart are rendering with the same length, even when the ...
0
votes
0
answers
242
views
How to make a multiple line chart with series color determined by another property
I'm currently building a angular project where i need to draw a line chart with multiple datasets.
Angular 14
dc.js 4.2.7
Each line should represent a mac address and the line color should be ...
0
votes
0
answers
63
views
dc.js rowchart Place of others not used
js a rowchart.
For hiding the "others" i use following:
chart.othersGrouper(null);
this hide the row others, but the place of this row is not used for the "normal" rows?
Is there ...
1
vote
1
answer
92
views
dc.js series linechart one line per year
Hello i use this code for getting my line with a point for each month.
Now i would like to get automatically a serie for each year - what is the best way for this?
function Dimension() {
return ...
1
vote
0
answers
15
views
d3/dc.js yAxis combine elasticY with a minValue [duplicate]
Is it possible to combine elasticY with a minValue?
i would like to let the maxValue of the yAxis calculate automatic, but the minValue should be fixed - is this possible?
1
vote
0
answers
33
views
dc.js / d3 xAxis show and order Monthname in linechart
Hello i have a question about dc/d3, i would like to show on the xAxis the monthname, Januar till December (in correct order)
The Value should be sum up for each year (i mean on January shoud be the ...
1
vote
0
answers
25
views
Rotating x-axis for bar chart with dc.js [duplicate]
I'm trying to rotate the x-axis label for my bar chart since if the names are too long, the labels overlap with each other. How do I rotate it at like 65 degrees so that it looks something like this.
...
1
vote
0
answers
82
views
How can I solve the console error for dc.js OnClick functions?
I'm currently using d3.js version 7.4.4 and dc.js version 4.0.0.
Here's the code for making a bar chart and 2 pie charts using the same data:
dataCount = dc.dataCount('#data-count');
var CountryChart=...
1
vote
1
answer
413
views
Is dc.js (used with crossfilter and d3.js) still a good option for Big data visualization on a browser page?
I'm try to build an online dashboard to visualize a large csv dataset and i want to be sure i'm following the right path.
Thank you everybody.
0
votes
0
answers
108
views
Row chart puts zero at center when no data
I am creating row chart using dc.js in angular, but the chart is not aligned properly. See the screenshot below:
var chartData=dc.rowChart(".div");
chartData
.width(900)
....
1
vote
0
answers
68
views
complex multipart clickable label on dc.js bar chart
I am new to dc.js. I want to build the chart pictured below:
On the top of each bar, there should be values like 2/3. This denotes the number of records for two different categories. I need to show ...