- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CalculateXforPanel (0.3 sec)
-
manifests/addons/dashboards/lib/lib-grid.libsonnet
function(p) p.type == 'row', grouped ); local CalculateXforPanel(index, panel) = local panelsPerRow = std.floor(gridWidth / panel.gridPos.w); local col = std.mod(index, panelsPerRow); panel + { gridPos+: { x: panel.gridPos.w * col } }; local panelsBeforeRowsWithX = std.mapWithIndex(CalculateXforPanel, panelsBeforeRows); local rowPanelsWithX = std.map(
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 2.3K bytes - Viewed (0)