Skip to content

Commit 9a3dd83

Browse files
Extended economic profile axes
1 parent da6e305 commit 9a3dd83

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

geophires/geophires-ui.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,16 @@ function renderGenerationProfileGraphs(resultsData) {
111111
hAxis: {
112112
title: 'Year'
113113
},
114+
series: {
115+
// Gives each series an axis name that matches the Y-axis below.
116+
0: {targetAxisIndex: 1},
117+
2: {targetAxisIndex: 1},
118+
},
119+
vAxes: {
120+
// Adds titles to each axis.
121+
0: {title: 'MUSD; MUSD/yr'},
122+
1: {title: 'cents/kWh'}
123+
},
114124
}
115125
);
116126
} else {

0 commit comments

Comments
 (0)