Гистограмма в nanocad
https://t.me/nanoSPDS Пример тут: https://cloud.mail.ru/public/Nor5/9vJrBb6D4 "Высота" определяется как:=substring("||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||";1 ;iff(xNum(off(0;-1))﹤=100;xNum(off(0;-1));100)), где off(0;-1) число в процентах. Цвет: =select( xNum(off(0;-2))﹤=5;ctlSetCellTextColor("#ff0141";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=10;ctlSetCellTextColor("#fe0000";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=15;ctlSetCellTextColor("#ff4001";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=20;ctlSetCellTextColor("#fe7e00";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=25;ctlSetCellTextColor("#ffc000";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=30;ctlSetCellTextColor("#ffc000";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=35;ctlSetCellTextColor("#ffff01";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=40;ctlSetCellTextColor("#c0ff00";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=45;ctlSetCellTextColor("#80ff00";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=50;ctlSetCellTextColor("#52f915";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=55;ctlSetCellTextColor("#1ce71b";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=60;ctlSetCellTextColor("#00ff41";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=65;ctlSetCellTextColor("#00fe81";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=70;ctlSetCellTextColor("#01ffc1";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=75;ctlSetCellTextColor("#01ffff";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=80;ctlSetCellTextColor("#00c0ff";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=85;ctlSetCellTextColor("#0080ff";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=90;ctlSetCellTextColor("#0140ff";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=95;ctlSetCellTextColor("#0000fe";off(0;-2):off(0;0)); xNum(off(0;-2))﹤100;ctlSetCellTextColor("#7f00ff";off(0;-2):off(0;0)); xNum(off(0;-2))==100;ctlSetCellTextColor("#c001ff";off(0;-2):off(0;0)); xNum(off(0;-2))﹥100;ctlSetCellTextColor("MAGENTA";off(0;-2):off(0;0)); TRUE;"НЕТ Данных"+ctlSetCellTextColor("BLUE";off(0;0):off(0;0)))
https://t.me/nanoSPDS Пример тут: https://cloud.mail.ru/public/Nor5/9vJrBb6D4 "Высота" определяется как:=substring("||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||";1 ;iff(xNum(off(0;-1))﹤=100;xNum(off(0;-1));100)), где off(0;-1) число в процентах. Цвет: =select( xNum(off(0;-2))﹤=5;ctlSetCellTextColor("#ff0141";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=10;ctlSetCellTextColor("#fe0000";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=15;ctlSetCellTextColor("#ff4001";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=20;ctlSetCellTextColor("#fe7e00";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=25;ctlSetCellTextColor("#ffc000";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=30;ctlSetCellTextColor("#ffc000";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=35;ctlSetCellTextColor("#ffff01";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=40;ctlSetCellTextColor("#c0ff00";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=45;ctlSetCellTextColor("#80ff00";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=50;ctlSetCellTextColor("#52f915";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=55;ctlSetCellTextColor("#1ce71b";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=60;ctlSetCellTextColor("#00ff41";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=65;ctlSetCellTextColor("#00fe81";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=70;ctlSetCellTextColor("#01ffc1";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=75;ctlSetCellTextColor("#01ffff";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=80;ctlSetCellTextColor("#00c0ff";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=85;ctlSetCellTextColor("#0080ff";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=90;ctlSetCellTextColor("#0140ff";off(0;-2):off(0;0)); xNum(off(0;-2))﹤=95;ctlSetCellTextColor("#0000fe";off(0;-2):off(0;0)); xNum(off(0;-2))﹤100;ctlSetCellTextColor("#7f00ff";off(0;-2):off(0;0)); xNum(off(0;-2))==100;ctlSetCellTextColor("#c001ff";off(0;-2):off(0;0)); xNum(off(0;-2))﹥100;ctlSetCellTextColor("MAGENTA";off(0;-2):off(0;0)); TRUE;"НЕТ Данных"+ctlSetCellTextColor("BLUE";off(0;0):off(0;0)))
