问题描述
我有以下代码只绘制了 y 轴。我不明白为什么 x 轴没有显示在图表上。请提前提供帮助和感谢。
Sub normPerm1()
Dim ws As Worksheet
Dim normPRange As Range
Dim normPChart As Chart
Dim LastRow As Long
Dim StartCell As Range
Set ws = ActiveSheet
Set StartCell = Range("AG12")
ActiveSheet.UsedRange
Set normPChart = Charts.Add
LastRow = ws.Cells.Find("*",searchorder:=xlByRows,searchdirection:=xlPrevIoUs,LookIn:=xlValues).Row
Set normPRange = ws.Range("AH12:AH" & LastRow)
With normPChart
.SetSourceData Source:=normPRange
.HasTitle = True
.ChartTitle.Text = "normalized Permeate Flow"
.ChartType = xlXYScatter
End With
End Sub
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)