Tritium UI

TritiumBulletGraph

เปรียบเทียบค่าที่เน้นกับเป้าหมายบนสเกลเชิงคุณภาพที่กะทัดรัด

TritiumBulletGraph

คุณสมบัติหลัก

  • แสดงค่าที่เน้นเทียบกับเครื่องหมายเปรียบเทียบ
  • ระบายช่วงเชิงคุณภาพ (ต่ำ พอใช้ ดี) หลังแถบ
  • วางกราฟแนวนอนหรือแนวตั้ง
  • แสดงป้ายขีดและป้ายที่ไม่บังคับบนเครื่องหมายเปรียบเทียบ
  • ลากค่าที่เน้น ติดขั้น และทำแอนิเมชันการเปลี่ยน
  • ผูก Value เป็นชื่อเรียกของค่าที่เน้น
  • ส่งออกกราฟเป็นสตรีมหรือไฟล์ PNG

แพลตฟอร์ม

Android, iOS, Mac Catalyst และ Windows 10 เวอร์ชัน 19041 ขึ้นไป (.NET 10 MAUI)

API หลัก

  • FeaturedMeasure . The bar length; Value tracks the same number.
  • ComparativeMeasure . The target marker.
  • Ranges . Qualitative background bands.
  • ValueChanged . Fires when the featured measure changes.

ตัวอย่างพื้นฐาน

ประกาศเนมสเปซนี้บนหน้า

xmlns:gauges="clr-namespace:Tritium.Maui.Gauges;assembly=Tritium.Maui.Gauges"
<gauges:TritiumBulletGraph Minimum="0" Maximum="100"
                         FeaturedMeasure="68" ComparativeMeasure="80"
                         Title="Revenue" Orientation="Horizontal" />

เพิ่มแหล่งแพ็กเกจจากไลเซนส์ แล้วอ้างอิงแพ็กเกจที่มีคอนโทรลนี้ แพ็กเกจเหล่านี้ไม่อยู่ในแกลเลอรี NuGet สาธารณะ

Ask Tritium

How-to help and product fit for FleetPro, Tritium UI, and Tritium Reporting.

Ask how to use a feature, or tell us your company, platforms, team size, and use case. Pricing and upgrades go to sales.

Product fit
Contact sales

Search the FAQ