StyleCode Property: minPrecision

minPrecision

Specifies the minimum number of fractional digits to be displayed in the number pipeline.

Applies toTypeDefault
barchart > vaxis > left
barchart > vaxis > right
barchart > series > value
chart > haxis
chart > vaxis > left
chart > vaxis > right
chart > block > scatter > series > value
chart > block > plotxy > series > value
histogram > series > value
linechart > vaxis > left
linechart > vaxis > right
linechart > series > value
piechart > series > value
plot > series > value
plot > haxis
plot > vaxis
scalar > entry > value
scatter > series
scatter > haxis
slicepicker > entry
summary > entry > value
table > column > value
Number0

Examples

// Example: barchart > vaxis > left
{ vaxis { left { minPrecision: 5 } } }
show barchart "My BarChart" a1b6 with
  sum(Quantity)
  group by Category

// Example: barchart > vaxis > right
{ vaxis { right { minPrecision: 5 } } }
show barchart "My BarChart" a1b6 with
  sum(Quantity)
  group by Category

// Example: barchart > series > value
show barchart "My BarChart" a1b6 with
  sum(Quantity) { value { minPrecision: 5 } }
  group by Category

// Example: histogram > series > value
show histogram "My Histogram" a1 tomato with
  PO.Delay { value { minPrecision: 5 } }

// Example: linechart > vaxis > left
{ vaxis { left { minPrecision: 5 } } }
show linechart "My LineChart" a1b6 with
  Day.StockOnHand
  Day.StockOnOrder

// Example: linechart > vaxis > right
{ vaxis { right { minPrecision: 5 } } }
show linechart "My LineChart" a1b6 with
  Day.StockOnHand
  Day.StockOnOrder

// Example: linechart > series > value
show linechart "My LineChart" a1b6 with
  Day.StockOnHand { value { minPrecision: 5 } }
  Day.StockOnOrder

// Example: piechart > series > value
show piechart "My PieChart" a1b6 with
  sum(Quantity) { value { minPrecision: 5 } }
  group by Category

// Example: plot > series > value
show plot "My Plot" a1d4 with
  Sales.Quantity { value { minPrecision: 5 } }
  Sales.Discount

// Example: plot > haxis
show plot "My Plot" a1d4 with
  Sales.Quantity
  Sales.Discount { minPrecision: 5 }

// Example: plot > vaxis
{ vaxis { minPrecision: 5 } }
show plot "My Plot" a1d4 with
  Sales.Quantity
  Sales.Discount

// Example: scalar > entry > value
show scalar "My Scalar" a1 tomato with
  sum(Quantity) { value { minPrecision: 5 } }

// Example: scatter > series
show scatter "My ScatterPlot" a1d4 with
  Sales.Quantity { minPrecision: 5 }
  Sales.Discount

// Example: scatter > haxis
show scatter "My ScatterPlot" a1d4 with
  Sales.Quantity
  Sales.Discount { minPrecision: 5 }

// Example: slicepicker > entry
show slicepicker "Pick a slice" a1b3 with
  same(Items.Id) { minPrecision: 5 }

// Example: summary > entry > value
show summary "My Summary" a1b3 tomato with
  sum(Quantity) { value { minPrecision: 5 } }
  sum(NetAmount)

// Example: table > column > value
show table "My Table" a1c4 tomato with
  Orders.Date { value { minPrecision: 5 } }
  Orders.Quantity

Details

Overrides precision if greater, so {precision: 2, minPrecision: 3} actually uses {precision: 3}.