acep-uaf / aetr-web-book-2024

Alaska Electricity Trends Report as a web book
https://acep-uaf.github.io/aetr-web-book-2024/
Creative Commons Attribution Share Alike 4.0 International
0 stars 0 forks source link

Adjust plotting order to prevent empty area underneath landfill gas from 2012-13 #25

Closed jikaczmarski closed 2 months ago

ianalexmac commented 3 months ago

@jikaczmarski I have had similar problems, so have been bulking out my margins.

Plot.plot({
     marginRight: 70
jikaczmarski commented 3 months ago

@ianalexmac I should have been more specific. I mean the order of how the series are plotted. On the statewide capacity graph you'll see that landfill gas starts getting plotted in 2012, but storage doesn't start until 2013. Because Observable defaults storage before landfill gas, it creates this empty space underneath the landfill gas line from 2012-2013.

ianalexmac commented 3 months ago

Oh! Gotcha. Thanks.