I am writing a d3 widget based on Mike Bostocks example http://bl.ocks.org/mbostock/1667367 So I am trying to set brush extent with predefined dates, but the extent rectangle is not applied to those dates.  var brush = d3.svg.brush()             .x(x...
i have created some histogram with d3.js.  I managed to change fill color of rect depending on the position of the brush.  But i would like to change the color inside a rect. For example if the brush start is in the middle of the rect i would like to...
I need to create a d3 brush which allows only for expansion/contraction on the right. i.e. I need to prevent the default behavior of move and expansion/contraction from the left.  From the docs, looks like this can be achieved by the filter function(...
I am working on this plnkr. I have three lines at angle 30, 45 and 60. I want to apply a brush on these lines so that when the chart is brushed the lines get redrawn at where it crossed the brushed rectangle with appropriate the values on the axis. A...
I've been looking at the simple map demos.  http://bl.ocks.org/mbostock/2206340  Keen to create a more sophisticated zoom/brush method using a mini map or a brush as opposed to rely on zoom events.   http://bl.ocks.org/mbostock/4343214  How wou...
In an object I store line chart made with d3.js, which have possibility to brush selected area.  Selected area is removed when I click outside selected part of line chart.  I'd like to remove selected area clicking on external link eg. [reset]  U...
I'm struggling to take a stacked area chart in D3 and add brushing features. I've managed to generate both the large (focus) and small (context) axes, and the plot looks fine to start. My problems is that the brushing features don't work...
I have a problem with brushing using brush.extent([val1, val2])  Regarding documentation: https://github.com/mbostock/d3/wiki/SVG-Controls when I set up brush.extent([val1, val2]) like this:  var xScale = d3.scale.linear()     .domain(data)     .rang...
I'm using fabric.js and so far I'm pretty impressed with what it can do. However, even though it comes with some nice brushes, I really need some customized ones for my project.  After searching extensively for days, all I could find was this...
My 'fixed length' example works well.  I currently have an array of brushes (that I use for histograms) for which I define in an array:  var brushFunctionArray = [brush0,brush1,brush2];  I go through a histogram loop to create the histograms...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.