chart:bar2 not disp...
 
Notifications
Clear all

We appreciate the contributions many of you have been able to make towards repairing the storm damage and keeping a roof over our heads. With your help we’ve been able to complete much of the critical work. There is still work to be done to secure the house and your continued support will be a huge help.

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

[Closed] chart:bar2 not displaying

5 Posts
2 Users
0 Reactions
1,509 Views
 cmd
(@cmd)
Eminent Member Registered
Joined: 5 years ago
Posts: 15
Topic starter  

Hello! I'm trying to use a bar2 chart similar to neilj's to display my drives. However, even with a minimal implementation, I'm not able to get my chart to draw. If I use the legacy 'bar' style, it does however. I'm sure I'm doing something wrong but I'm just not seeing what.

Relevant ini lines:


# shows no chart, even if I specify row-id:1
LOGICALDRIVES=interval:15,diskio:1,chart:bar2 scale:linear max:100 series1:7 threshold:80,display:%1 %7[2.0f]%|%chart%
# shows chart!
LOGICALDRIVES=interval:15,diskio:1,chart:bar linear 100 7 80,display:%1 %7[2.0f]%|%chart%

Screenshot of the output is attached. Any help is most appreciated!

Cheers


   
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 1903
 

I copy pasted your code straight in to my working ini and it shows as expected. Check your version of DTI


   
 cmd
(@cmd)
Eminent Member Registered
Joined: 5 years ago
Posts: 15
Topic starter  

Wow, thanks for the lightning quick response! Well that makes me feel better that I didn't miss something completely obvious there 😅

I'm on 2.3.1.3085.

Here's my whole ini, in case I'm doing something else wrong elsewhere.


[options]
# size and position
monitor-mode=0
monitor-num=0
#top=0
#left=0
bottom=1
right=1
width=420
centerv=0
centerh=0
column1width=-1

# interface
formcolor=000000
transparency=100
contextmenu=1
allowdrag=0
nav=0
nav-align=0
nav-color=ffffff
#language=

# font
font-face=Consolas
font-size=10
#font-charset=1
font-rtl=0
font-quality=5
line-spacing=1

# banner graphic
#logo=
logo-width=0
logo-height=0
logo-align=0

# application logging
log=desktopinfo.log
log-level=debugonerror
eventlog-level=error

# desktopinfo64
desktopinfo64=1

# other
inimonitortime=2
text-editor=notepad
text-align=0
initial-page=0
auto-home=0
ignore-setting-change=0

[screen-saver]
# does this work?
font-face=Comic Sans MS
font-size=16
centerv=1
centerh=1

[text]
noresults=<n/a>
error=[error]

[pages]
1=Main Page
2=
3=
4=
5=
6=
7=
8=
9=

[functions]
KtoC=%1-273.15
KtoF=(%1-273.15)*9/5+32

[items]

# colors
set=key:White,value:#ffffff
set=key:Grey,value:#a0a0a0
set=key:Cyan,value:#00ffff
set=key:Magenta,value:#ff00ff
set=key:Green,value:#00ff00
set=key:Orange,value:#ffb871
set=key:Silver,value:#c0c0c0
set=key:Blue,value:#0000f0
set=key:Yellow,value:#ffff00
set=key:Red,value:#ff0000

##PAGE 1

# Generic Info
HOST=active:1,interval:0,color:ffdd99,style:b
USER=active:1,interval:0,color:ffdd99

# Hardware
WMI=active:1,interval:0,color:0099ee,text:Serial Number,namespace:rootcimv2,query:Win32_Bios,display:%SerialNumber%
WMI=active:1,interval:0,color:0099ee,text:Model,namespace:rootcimv2,query:Win32_ComputerSystem,display:%Model%
WMI=active:1,interval:0,color:0099ee,text:BIOS Rev,namespace:rootcimv2,query:Win32_Bios,display:%SMBIOSBIOSVersion%

# windows configuration
WMI=active:1,hidden:1,interval:0,color:ff8888,text:OS,namespace:rootcimv2,query:Win32_OperatingSystem,set:OSV,display:%caption%
WMI=active:1,hidden:1,interval:0,color:ff8888,text:OSArch,namespace:rootcimv2,query:Win32_OperatingSystem,set:OSArch,display:%OSArchitecture%
WMI=active:1,hidden:1,interval:0,color:ff8888,text:OSVersion,namespace:rootcimv2,query:Win32_OperatingSystem,set:OSVersion,display:%Version%
REG=active:1,value:HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionReleaseId,set:releaseid,hidden:1

IF=active:1,interval:0,value1:%OSV%,value2:Microsoft Windows 10 Pro for Workstations,comparator:eq
Text=active:1,interval:0,text:OS,display:Windows 10 Pro for Workstations (%OSArch%)

IF=active:1,interval:0,value1:%OSV%,value2:Microsoft Windows 10 Pro,comparator:eq
Text=active:1,interval:0,text:OS,display:Windows 10 Pro (%OSArch%)

OSBUILD=text:,interval:0,display:Version %releaseid% (OS Build %OSVersion%)

FILE=active:1,interval:0,color:ff8888,type:version,text:DTI Version,file:DesktopInfo.exe,display:%2
#FILE=active:1,interval:0,color:ff8888,type:version,text:Image Version,file:version.exe,display:%2

WMI=active:1,color:ff8888,text:Install Date,namespace:rootcimv2,query:Win32_OperatingSystem,display:%InstallDate_month%[mmm] %InstallDate_day% %Installdate_year% %Installdate_hour%[HH]:%Installdate_minute%[mm]

CMD=active:1,interval:0,color:ff8888,text:AnyDesk ID,file:cmd.exe,parameters:/C anydesk-id.cmd,display:%4

# cpu
CPUTYPE=color:%Orange%,text:,interval:0
WMI=text:,interval:5,namespace:rootcimv2,query:Win32_Processor,display:Speed: %CurrentClockSpeed%[4.2K]GHz
CORETEMP=text:,interval:5,threshold1:1 70 %red%,display:Temperature: %1°C
#WMI=interval:10,text:Cpu Temp,namespace:rootwmi,query:MSAcpi_ThermalZoneTemperature,display:{{1.0d:%CurrentTemperature%/10-273.15}}Celsius
PROCESSCOUNT=text:,interval:5,display:Processes: %1 Threads: %2
CPU=text:,interval:5,chart:line2 height:2 scale:linear max:100 series1:1 color1:ffffff series2:2 color2:71b8ff, threshold1:1 80 %red%,threshold2:2 40 %red%,display:Load: %1[2.0f]% Kernel:%2[2.0f]% Queue: %3
TOPPROCESSCPU=text:,interval:10,maxrows:1,display:Top process: %3% %1

# memory
#PHYSICALRAM=active:1,interval:5,color:cc99cc,chart:0,threshold:90,tcolor:0000FF,shortdisplay:0
PHYSICALRAM=active:1,interval:15,color:ffd0e0,threshold1:3 40 %Yellow%,threshold2:3 65 %Orange%,threshold3:3 80 %Red%,display:%1[3.1b]B / %2[3.1b]B (%3% used)

# network stack
#ALLIPADDRESS=active:1,interval:30,color:55cc77,activeonly:1,filter:-virtual

WMI=active:2,hidden:1,interval:5,namespace:rootcimv2,query:Win32_NetworkAdapter where Name like "%PCI-E%",set:LSpeed,display:%Speed%[1.0B]Bps
WMI=active:2,hidden:1,interval:5,namespace:rootcimv2,query:Win32_NetworkAdapter where Name like "%wireless%",set:WSpeed,display:%Speed%[1.0B]Bps
WMI=active:2,interval:5,text:LAN / WLAN Speed,namespace:rootcimv2,query:Win32_NetworkAdapter where Name like "%PCI-E%" or Name like "%wireless%",display:%LSpeed% / %WSpeed%

NETWORKINTERFACES=active:1,interval:30,color:22dddd,operstatus:1,iftype:6 71,ipv4list:%8/%10|,ipv6list:%11|,display:%2 (@%23[0.0B]bps):|  %8|  %11,friendlyfilter:-VMware-vEthernet

# no bar2?
LOGICALDRIVES=interval:15,diskio:1,chart:bar2 scale:linear max:100 series1:7 threshold:80 row-id:1,display:%1 %7[2.0f]%|%chart%
# but bar works?
LOGICALDRIVES=interval:15,diskio:1,chart:bar linear 100 7 80,display:%1 %7[2.0f]%|%chart%

# misc
COMMENT=active:1,interval:0,color:aaaaaa,text:Don't forget to be awesome!

   
 cmd
(@cmd)
Eminent Member Registered
Joined: 5 years ago
Posts: 15
Topic starter  

Doesn't look like I can edit my previous post, but: You having me check my version is definitely something: I thought I had updated to 2.10.1.3742, but I must have had it running when I tried to paste the files in! I'm on that version now and not seeing it show up at all, so I've broken something else for sure, too!


   
 cmd
(@cmd)
Eminent Member Registered
Joined: 5 years ago
Posts: 15
Topic starter  

Looks like between updating to 2.10 (for real!), and re-building my ini bit by bit things seem to be happy now! Thanks so much for the help!


   
Glenn's Page