StyleCode Property: precision
precision
Specifies the maximum number of fractional digits to be displayed in the number pipeline.
Examples
// Example: barchart > vaxis > left
{ vaxis { left { precision: "2" } } }
show barchart "My Chart" a1b6 with
sum(Quantity)
group by Category
// Example: barchart > vaxis > right
{ vaxis { right { precision: "2" } } }
show barchart "My Chart" a1b6 with
sum(Quantity)
group by Category
// Example: barchart > series > value
show barchart "My Chart" a1b6 with
sum(Quantity) { value { precision: "2" } }
group by Category
// Example: histogram > series > value
show histogram "My Histogram" a1 tomato with
PO.Delay { value { precision: "2" } }
// Example: linechart > vaxis > left
{ vaxis { left { precision: "2" } } }
show linechart "My Chart" a1b6 with
Day.StockOnHand
Day.StockOnOrder
// Example: linechart > vaxis > right
{ vaxis { right { precision: "2" } } }
show linechart "My Chart" a1b6 with
Day.StockOnHand
Day.StockOnOrder
// Example: linechart > series > value
show linechart "My Chart" a1b6 with
Day.StockOnHand { value { precision: "2" } }
Day.StockOnOrder
// Example: piechart > series > value
show piechart "My Chart" a1b6 with
sum(Quantity) { value { precision: "2" } }
group by Category
// Example: plot > series > value
show plot "My Plot" a1d4 with
Sales.Quantity { value { precision: "2" } }
Sales.Discount
// Example: plot > haxis
show plot "My Plot" a1d4 with
Sales.Quantity
Sales.Discount { precision: "2" }
// Example: plot > vaxis
{ vaxis { precision: "2" } }
show plot "My Plot" a1d4 with
Sales.Quantity
Sales.Discount
// Example: scalar > entry > value
show scalar "My Scalar" a1 tomato with
sum(Quantity) { value { precision: "2" } }
// Example: scatter > series > value
show scatter "My Plot" a1d4 with
Sales.Quantity { value { precision: "2" } }
Sales.Discount
// Example: scatter > haxis
show scatter "My Plot" a1d4 with
Sales.Quantity
Sales.Discount { precision: "2" }
// Example: summary > entry > value
show summary "My Scalar" a1b3 tomato with
sum(Quantity) { value { precision: "2" } }
sum(NetAmount)
// Example: table > column > value
show table "My Table" a1c4 tomato with
Orders.Date { value { precision: "2" } }
Orders.Quantity