Skip to content

Commit

Permalink
fix(vx-demo/Brush): remove bottomRight resize trigger, increase chart…
Browse files Browse the repository at this point in the history
… separation
  • Loading branch information
williaster committed May 7, 2020
1 parent f27125e commit 256c220
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vx-demo/src/docs-v2/examples/vx-brush/Example.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import AreaChart from './AreaChart';
// Initialize some variables
const stock = appleStock.slice(1000);
const brushMargin = { top: 0, bottom: 20, left: 50, right: 20 };
const chartSeparation = 10;
const chartSeparation = 24;
const PATTERN_ID = 'brush_pattern';
const GRADIENT_ID = 'brush_gradient';
const selectedBrushStyle = {
Expand Down Expand Up @@ -154,7 +154,7 @@ function BrushChart({
height={yBrushMax}
margin={brushMargin}
handleSize={8}
resizeTriggerAreas={['left', 'right', 'bottomRight']}
resizeTriggerAreas={['left', 'right']}
brushDirection="horizontal"
initialBrushPosition={initialBrushPosition}
onChange={onBrushChange}
Expand Down

0 comments on commit 256c220

Please sign in to comment.