grails - Dc crossfilter hide particular selection -
Working on a grails application, in which I am using a DC-cross filter which is a 5 times graph that Are connected to. / P>
Now, I want to do a simple thing here: 14 times for my first time in the graph (X sections and 1 "all" graph)
The problem here is that the presence of " all " in the article actually spoils every other In the form they are very few (the sum of all X numbers of all departments), so each department number is so low that it is clearly not even clear.
However, loading data is very important for "all" , since all the remaining 4 times the chart is filtered for "All" is.
So, is there a way to do that, how can I do this before loading the data even after hiding "all" in the graph? Is this also possible?
There should be some simple steps to do this.
All approaches / suggestions are most welcome.
Update:
Code:
This is the part where I define groups and dimensions
var DevValue = facts.dimension (function (d) {return dc;}); Var devValueGroupSum = devValue.group (). Weak (function (D) {Return + GC;}); Var mvValue = facts.dimension (function (d, i) {return db;}); Var mvValueGroupSum = mvValue.group (). Weak (function (D) {Return + GC;});
Now, where do I define a fake group and prefilter data.
The bogus group code as a document:
var group = {all: function () {var cumulate = 0; Var G = []; _group.all (for function) (function (D, i) {cumulate + = d.value; g.push ({key: dk, value: cumulate}}}; return g;}}
I am not able to understand the documentation how it can be implemented, can you help me implement it?
< Div class = "post-text" itemprop = "text">
You can use "fake group" to prefix the data. Will run Yam, which then receives data from the real group and replaces it
Comments
Post a Comment