d3.js - how to display bottom data for row chart using dc.js -


I am creating a lineart by using the Dimensional Charting Javascript Library DCJS, which is based on D3 and CrossFilter. I am displaying the top (10) linear data But I am trying to display the bottom line for the (10) data but the bottom graph (10) shows the top (10) data to display.

  constroowart.width (350). Height (1000). Margins ({top: 20, left: 120, right: 10, bottom: 20}). Transition period (750) .Dimension density. Group (const_total) .renderLabel (true) .gap (1) .title (function (d) {return "";}). Lolasticx (true). Color (d3.scale.category20c ()). Ordering (function (D) {Return D. Value}). Xxis () .tics (3) .tackformat (d3 format ("s");); ConstrowChart.data (function (group) {return group.top (10);}); @LarsKotthoff suggests that if you do not want to create another dimension / group,    

You can use the last ten entries of the .top (infinite) and then the .splice (-10) array.

There are skill merchants in creating additional dimensions to sort all the data, so you can try both to see who performs better.

Comments

Popular posts from this blog

runtime error - Cannot find an overload for op_subtraction when subtracting datetime from datetime in powershell -

javascript - Backbone pushState routes -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -