Skip to content

Commit

Permalink
In ApplySpecsFromJSON, force MinAuto to False for both Y axes in all …
Browse files Browse the repository at this point in the history
…plots (defaults to True for Log scale)
  • Loading branch information
PaulHummelRESPEC committed Feb 28, 2018
1 parent ec18721 commit e44f06c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions atcGraphExperimental/modGraph.vb
Original file line number Diff line number Diff line change
Expand Up @@ -1309,6 +1309,8 @@ FoundMatch:
For Each lScaleNode As XmlNode In lChildItem.ChildNodes
If lScaleNode.Name = "Min" Then
aZgc.MasterPane.PaneList(lPaneCount).YAxis.Scale.Min = lScaleNode.InnerText
'force MinAuto to False for all plots (gets set to True for Log scale)
aZgc.MasterPane.PaneList(lPaneCount).YAxis.Scale.MinAuto = False
ElseIf lScaleNode.Name = "Max" Then
aZgc.MasterPane.PaneList(lPaneCount).YAxis.Scale.Max = lScaleNode.InnerText
End If
Expand All @@ -1327,6 +1329,8 @@ FoundMatch:
For Each lScaleNode As XmlNode In lChildItem.ChildNodes
If lScaleNode.Name = "Min" Then
aZgc.MasterPane.PaneList(lPaneCount).Y2Axis.Scale.Min = lScaleNode.InnerText
'force MinAuto to False for all plots (gets set to True for Log scale)
aZgc.MasterPane.PaneList(lPaneCount).Y2Axis.Scale.MinAuto = False
ElseIf lScaleNode.Name = "Max" Then
aZgc.MasterPane.PaneList(lPaneCount).Y2Axis.Scale.Max = lScaleNode.InnerText
End If
Expand Down

0 comments on commit e44f06c

Please sign in to comment.