英文:
grafana - diplay series summed up
问题
I understand your request. Here's the translated content:
想象一下,您有一个显示多个字段的时间序列图。其中一个字段是“总体”字段,比如总电力消耗,而其他字段显示了该“总体”图的各个部分,比如几个电源插座中的电力计表。
我想知道是否可以以堆叠的方式显示电源插座,以便它们在视觉上都累加在一起,但仍然显示为独立的图表。它只是不从0开始,而是在另一个图表的顶部。这样,我可以直观地看到其他没有电力计表的插座消耗的电力。
这里的200W“添加”到了100W的图表上,所以现在我可以直观地看到,我有300W的电力计表,但总共我使用了400W,所以缺少了100W。
我几年前实现过这个功能 - 很可能是使用旧的时间序列图表,但不幸的是,我不记得具体是如何做的...根据选择的顺序,最低的图表和最高的图表是根据哪个确定的。
英文:
imagine you have a time series graph showing multiple fields. One field is an "overall" field like - total power consumtion, and other fields are showing parts of that "overall" graph, like power meters in several power outlets.
I wonder if i can display the power outlets in a stacked up way so they visually get all added up - but still show as independent graph. It just does not start at 0 but on top of an other graph. That way i could visually see the power which is consumed by other outlets not having any power meters.
The 200W is "added" onto the 100W Graph so I can now visually see, I have power meters for 300W, but overall I use 400W, so 100W is "missing".
I achived that several years ago - most likeley with the old time series graph, but unfortunally I can't remember how.... which graph was lowest in the chart and which highest was iirc based on the order of the selects.
答案1
得分: 1
转到面板选项:图形样式 > 堆叠系列 > 选择 Normal
。它将堆叠所有时间序列。
然后转到覆盖选项卡。
- 添加字段覆盖 > 具有名称的字段 > 选择
Total
。 - 添加覆盖属性 > 图形样式 > 堆叠系列 > 选择
Off
。
英文:
Go to panel options: Graph styles > Stack series > Select Normal
. It will stack all time series.
Then go to Overrides tab.
- <kbd> Add field overried </kbd> > Field with name > Select
Total
. - <kbd> Add override property </kbd> > Graph styles > Stack series > Select
Off
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论