How can I keep the look of the graph line and get back to the correct string value?

Code: Select all

```
; ------------------------------------------------------------------------
; MEASURES
; ------------------------------------------------------------------------
[MeasureNetworkReceive]
; Returns receive activity on the current network in bytes.
Measure=NetIn
OnUpdateAction=[!UpdateMeter Graph4][!UpdateMeasure MeasureNetworkReceiveKb][!UpdateMeasure MeasureNetworkReceiveMb][!UpdateMeasure MeasureNetworkReceiveGb]
UpdateDivider=6
[MeasureNetworkReceiveKb]
; Returns receive activity on the current network in Kilobits.
Measure=Calc
Formula=((MeasureNetworkReceive*8)/#KBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
UpdateDivider=-1
[MeasureNetworkReceiveMb]
; Returns receive activity on the current network in Megabits.
Measure=Calc
Formula=((MeasureNetworkReceive*8)/#MBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
UpdateDivider=-1
[MeasureNetworkReceiveGb]
; Returns receive activity on the current network in Megabits.
Measure=Calc
Formula=((MeasureNetworkReceive*8)/#GBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
UpdateDivider=-1
[MeasureNetworkSend]
; Returns send activity on the current network in bytes.
Measure=NetOut
OnUpdateAction=[!UpdateMeasure MeasureNetworkSendKb][!UpdateMeasure MeasureNetworkSendMb][!UpdateMeasure MeasureNetworkSendGb]
UpdateDivider=6
[MeasureNetworkSendKb]
; Returns send activity on the current network in Kilobits.
Measure=Calc
Formula=((MeasureNetworkSend*8)/#KBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
UpdateDivider=-1
[MeasureNetworkSendMb]
; Returns send activity on the current network in Megabits.
Measure=Calc
Formula=((MeasureNetworkSend*8)/#MBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
UpdateDivider=-1
[MeasureNetworkSendGb]
; Returns send activity on the current network in Gigabits.
; Changes unit of measure between Kb, Mb, and Gb depending on how much data is being sent and/or received.
Measure=Calc
Formula=((MeasureNetworkSend*8)/#GBconversionFactor#)
OnChangeAction=[!UpdateMeter Value4]
IfCondition=(MeasureNetworkSendMb >= 1) || (MeasureNetworkReceiveMb >= 1)
IfTrueAction=[!SetVariable NetUnits "Mbps"][!SetOption Value4 MeasureName MeasureNetworkReceiveMb][!SetOption Value4 MeasureName2 MeasureNetworkSendMb]
IfCondition2=(MeasureNetworkSendGb >= 1) || (MeasureNetworkReceiveGb >= 1)
IfTrueAction2=[!SetVariable NetUnits "Mbps"][!SetOption Value4 MeasureName MeasureNetworkReceiveMb][!SetOption Value4 MeasureName2 MeasureNetworkSendMb]
IfCondition3=(MeasureNetworkSendGb < 1) && (MeasureNetworkReceiveGb < 1) && (MeasureNetworkSendMb < 1) && (MeasureNetworkReceiveMb < 1)
IfTrueAction3=[!SetVariable NetUnits "Kbps"][!SetOption Value4 MeasureName MeasureNetworkReceiveKb][!SetOption Value4 MeasureName2 MeasureNetworkSendKb]
UpdateDivider=-1
```