Merit Order charts #11372
geertjanvdk
started this conversation in
General
Merit Order charts
#11372
Replies: 1 comment
-
I went with simply scaling Div-Elements and placing them next to each other for now, so Plan B :) There seems to be forks out there that allow to set "thickness per bar" by "simply" allowing an array for "barThickness". Might be a great feature indeed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to plot a Merit Order graph, and I am a bit a loss on how to do it. I achieve something, but it ain't very nice.
Example of Merit Order can be see from following image.
It is a Bar Chart, where the Y-Axis (height) is the cost, and x-Axis represents the capacity. Each "bar" represents the technology used to provide this capacity. So the "thickness" of the bar is important and shows the capacity for each technology used.
How would I go about doing this in Chartjs? Maybe this is something more for a Line Chart and the Filler plugin?
What I have achieved is following:
This is with multiple datasets, generated with following code:
The bars should start from 0, and fill up the chart canvas on the x-axis. No overlapping, a bit like a step-line chart. I am still trying to get something going with lines, but no success so far.
Anyone done this before?
I would like to use an existing charting library, and not have to plot myself things (which is Plan B). :)
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions