Tritium UI

TritiumHeatmapChart

ระบายสีตารางค่าแถวและคอลัมน์ เพื่อให้เมทริกซ์ที่หนาแน่นอ่านได้ง่าย

TritiumHeatmapChart

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

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

แพลตฟอร์ม

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

API หลัก

  • Series . The heatmap series (column, row, and value paths).
  • MinColor . Color at the low end of the scale; MaxColor is the high end.
  • ShowDataLabels . Prints each cell value on the tile.
  • SeriesPointSelected . Fires when the user selects a cell.

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

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

xmlns:charts="clr-namespace:Tritium.Maui.Charts;assembly=Tritium.Maui.Charts"
<charts:TritiumHeatmapChart ShowDataLabels="True" ShowAxisLabels="True">
    <charts:TritiumHeatmapChart.Series>
        <charts:HeatmapSeries ItemsSource="{Binding Cells}"
                              ColumnBindingPath="Hour"
                              RowBindingPath="Day"
                              ValueBindingPath="Load" />
    </charts:TritiumHeatmapChart.Series>
</charts:TritiumHeatmapChart>

เพิ่มแหล่งแพ็กเกจจากไลเซนส์ แล้วอ้างอิงแพ็กเกจที่มีคอนโทรลนี้ แพ็กเกจเหล่านี้ไม่อยู่ในแกลเลอรี 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