I am using Live-Graphs for dynamic updates, as I wanted to display many live-graphs, intervals are handled in a proper planned way.
The Graphs are Filled Area Graph(without sharing axis). I am trying to plot 2 Filled/Stacked Area Graphs but unable to do it. Can anyone provide solutions to this.
My code looks something like below(data irrelevant):
trace1 = go.Scatter(
x=[0, 1, 2],
y=[10, 11, 12]
)
trace2 = go.Scatter(
x=[2, 3, 4],
y=[100, 110, 120],
)
trace3 = go.Scatter(
x=[3, 4, 5],
y=[1000, 1100, 1200],
)
trace3 = go.Scatter(
x=[0, 1, 2],
y=[10, 11, 12]
)
trace4 = go.Scatter(
x=[2, 3, 4],
y=[100, 110, 120],
)
trace5 = go.Scatter(
x=[3, 4, 5],
y=[1000, 1100, 1200],
)
fig = tools.make_subplots(rows=2, cols=1,vertical_spacing=0.1)
data1 = [trace1,trace2,trace3]
data2 = [trace3,trace4,trace5]
fig.append_trace(data1, 1, 1)
fig.append_trace(data2, 2, 1)
Can anyone please help on this?