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...
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 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...
I am trying to use d3 to draw several lines in one chart and also implement with brush function ( http://bl.ocks.org/1667367 )    Below part of code will show each line's name on the right side.  focudraw.select("text")   .datum(function(...
I need to create a opacity brush clean and smooth.  This is one drawing line example what i need:   Second picture what i get:   While i move cursor faster, i get little less circles in the drawing line        var el = document.getElementById('c&...
I'm trying to brush #histogram1 and redraw a sub-chart #histogram2.  The redrawing is not working properly, around line 113 in my example.  The console is occasionally showing errors on the "height" and "y" attributes -  Error: &l...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.