score:1
The problem is about the clipPath
element. Chrome is quite permissive about element declaration but not Firefox.
To get your fiddle working, change:
svg.append('clippath')
.attr('id', 'chart-area')
.append('rect')
.attr({
x: Chart.margin.left + Chart.sideWidth,
y: Chart.margin.top,
width: BarArea.width,
height: BarArea.height,
});
To:
svg.append('defs').append('clipPath')
.attr('id', 'chart-area')
.append('rect')
.attr({
x: Chart.margin.left + Chart.sideWidth,
y: Chart.margin.top,
width: BarArea.width,
height: BarArea.height,
});
Here is the working fiddle.
Source: stackoverflow.com
Related Query
- d3 js bar chart not working in mozilla firefox
- d3.js Bar Chart transitions not working properly
- D3.js bar chart - axis and labels not working / transitioning
- Horizontal bar chart exit method not working
- d3 Bar chart with a tool tip is not working
- D3js responsive stacked bar chart - other topics solutions not working
- D3 bar chart not working properly with all negative and positive values
- Exit() is not working for d3 group bar chart
- Browser tooltip not working in d3.js bar chart
- d3.js Stacked Bar Chart working for one dataset but not the other
- Sortable Bar Chart Not Working
- d3 grouped bar chart update pattern not working
- d3.js (v3) enter() not working in bar chart update
- x position of tooltip in d3 stacked bar chart not working
- svg filter not working in mozilla firefox after zoom
- d3.js group bar chart not working
- Sorting bar chart in D3 not working
- D3 bar chart sorting not working
- C3 bar chart width is not working properly
- Group bar chart data not working as expected
- d3.js bubble chart is not working Firefox browser (Error: classes is not defined)
- d3 bar chart obscured in firefox but not in chrome
- Styling not working in Mozilla Firefox
- d3 bar chart exit not quite working
- Javascript d3 bar chart not working
- NVD3 stacked bar chart option not working
- Stacked Bar Chart to Grouped Bar Chart transition not working
- D3 Bar Graph example not working locally
- d3-tip offset on svgs within Leaflet, Firefox only, not working
- d3.select.style not working on firefox
More Query from same tag
- D3.js x value scaling problem from Array of objects
- Reference .json file for external dataset in ng2-nvd3
- D3.Drag.Behaviour not working as it should
- D3.js - Rotate svg text around a point
- d3.js, attribute d: Expected number, “MNaN,NaNLNaN,NaN”
- Click event in not working on D3 US Map, and mouseover event is working on particular states only
- Assign distinct color to each row in a heat map
- dc.js d3+crossfilter.top to export filtered data to CSV
- Export PDF from SVG d3 chart using JavaScript
- Add Spacing and Interactivity to D3 Vers 6 Stacked Bar Chart
- Hide all but selected connected nodes in D3 (v4) force graph
- Adding a node to d3 network error (with fiddle example)
- Padding is not defined in d3.js
- Firefox disable browser zoom but allow element zoom on pinch
- Problem implementing Stacked Bar Chart using d3.stack() in Angular v11/12
- D3.js CodeFlower Image as circle background
- Random loading of labels for cities
- d3 v4 plugin - How to require other d3 plugins?
- NVD3 line chart display X axis
- Unable to get click event in D3 JavaScript library
- Using CSS Scale/Matrix doesn't keep background aligned with elements
- plotting the points x and y, the axes y and x are not shown correctly
- Manipulate Google GeoChart SVG with D3
- D3js: force directed, collapsing internal nodes
- D3.js Use d3.svg.brush on an infinite scale
- Tipsy tooltip attached on circle's upper left corner using d3
- Overflow a circle outside the bounds
- StackedBar Chart with missing ToolTip in Angular and D3.js
- How to scale an integer to date with range and domain
- D3 Line Chart into bindPopup