un:earthquakes-near-dhaka
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| un:earthquakes-near-dhaka [2025/11/22 00:23] – asad | un:earthquakes-near-dhaka [2025/11/22 00:56] (current) – asad | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Earthquakes near Dhaka ====== | ====== Earthquakes near Dhaka ====== | ||
| - | |||
| - | |||
| < | < | ||
| < | < | ||
| - | /* Container so we can see the area clearly */ | ||
| #myPlot { | #myPlot { | ||
| - | width: | + | width: |
| - | height: | + | height: |
| - | border: 2px solid #f00; | + | |
| position: relative; | position: relative; | ||
| } | } | ||
| - | /* Make sure Plotly' | ||
| #myPlot .plot-container, | #myPlot .plot-container, | ||
| #myPlot .svg-container, | #myPlot .svg-container, | ||
| Line 18: | Line 13: | ||
| width: 100% !important; | width: 100% !important; | ||
| height: 100% !important; | height: 100% !important; | ||
| - | opacity: 1 !important; | ||
| visibility: visible !important; | visibility: visible !important; | ||
| overflow: visible !important; | overflow: visible !important; | ||
| - | } | ||
| - | |||
| - | /* Kill any hostile global styles for SVG graphics INSIDE our plot */ | ||
| - | #myPlot svg path, | ||
| - | #myPlot svg line, | ||
| - | #myPlot svg rect { | ||
| - | stroke-width: | ||
| - | stroke: #000 !important; | ||
| - | fill: none !important; | ||
| - | } | ||
| - | |||
| - | /* Make text (axis labels, ticks) visible */ | ||
| - | #myPlot svg text { | ||
| - | fill: #000 !important; | ||
| - | opacity: 1 !important; | ||
| } | } | ||
| </ | </ | ||
| Line 65: | Line 44: | ||
| console.log(' | console.log(' | ||
| - | | + | |
| - | | + | const figureData = {"data": |
