excel中的多轴线图

sam*_*sam 10 excel charts

我正在寻找类似于下图中的多轴线图(这是由amcharts制作的javascript图表).

excel是否可以选择绘制这些图表?注意,有3个Y轴和3个折线图,可以比较数据.

是否可以获得3个以上的数据点,每个数据点在一个图表上具有唯一的轴?

在此输入图像描述

chu*_*uff 11

通过为其中一个系列指定辅助轴,可以在图表的一侧获得主轴和辅助轴.

要使用辅助轴获得右侧的主轴,需要在"主轴的格式轴"对话框中将"轴标签"选项设置为"高".

要使用主轴获得左侧的辅助轴,需要在"辅助轴"的"格式轴"对话框中将"轴标签"选项设置为"低".

我知道无法在一张图表上获得第三组轴标签.您可以使用文本框和线条伪造轴标签和刻度,但很难将所有内容正确对齐.

更可行的路线是zx8754建议的:创建第二个图表,关闭标题,左轴等,并将其放在第一个图表上.看看我那个尚未经过微调的非常粗糙的模型.

三轴标签图


Chu*_*Qin 5

The picture you showd in the question is actually a chart made using JavaScript. It is actually very easy to plot multi-axis chart using JavaScript with the help of 3rd party libraries like HighChart.js or D3.js. Here I propose to use the Funfun Excel add-in which allows you to use JavaScript directly in Excel so you could plot chart like you've showed easily in Excel. Here I made an example using Funfun in Excel.

在此处输入图片说明

You could see in this chart you have one axis of Rainfall at the left side while two axis of Temperature and Sea-pressure level at the right side. This is also a combination of line chart and bar chart for different datasets. In this example, with the help of the Funfun add-in, I used HighChart.js to plot this chart.

Funfun also has an online editor in which you could test your JavaScript code with you data. You could check the detailed code of this example on the link below.

https://www.funfun.io/1/#/edit/5a43b416b848f771fbcdee2c

Edit: The content on the previous link has been changed so I posted a new link here. The link below is the original link https://www.funfun.io/1/#/edit/5a55dc978dfd67466879eb24

If you are satisfied with the result you achieved in the online editor, you could easily load the result into you Excel using the URL above. Of couse first you need to insert the Funfun add-in from Insert - My add-ins. Here are some screenshots showing how you could do this.

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

Disclosure: I'm a developer of Funfun