I am current looking for a solution to visualize the energy in the house.
I do have the measurement of the grid connection , solar , car ev charger and my heat pump.
I came across the echarts which seems to be the base for the oh-chart
sankey echart
will snakey from the echart be supported in the future releases or are there posibilities to already used them within the current oh-charts?
option = {
series: {
type: 'sankey',
layout: 'none',
emphasis: {
focus: 'adjacency'
},
data: [
{
name: 'PV'
},
{
name: 'import'
},
{
name: 'export'
},
{
name: 'aux'
},
{
name: 'consumption'
},
{
name: 'EV car'
},
{
name: 'heat'
}
],
links: [
{
source: 'PV',
target: 'export',
value: 5
},
{
source: 'import',
target: 'consumption',
value: 2
},
{
source: 'PV',
target: 'consumption',
value: 3
},
{
source: 'consumption',
target: 'aux',
value: 1
},
{
source: 'consumption',
target: 'EV car',
value: 2
},
{
source: 'consumption',
target: 'heat',
value: 2
}
]
}
};
would be nice if the item values could included.
thx