//statisticsDatum implements the StatisticsDatum struct package statisticsDatum type StatisticsDatum struct{ // The label for the statistics datum // For a bar chart, this represents the name of an X axis bar. // For a donut chart, this represents the name of a donut slice // Example: "Man", "100-200" // This will never be translated, unless it is the Unknown/No Response value, in which case // the label will be "Unknown"/"No Response" translated to the user's current app language Label string // This is the formatted, human readable version of the label // This will be translated into the application language // Sometimes, the LabelFormatted will be identical to Label // This does not include units (Example: " days", " users") // Example: // -"1000000-2000000" -> "1 million-2 million" LabelFormatted string // The value corresponding to the label // For a bar chart, this represents the Y axis value for a bar. // For a donut chart, this represents the value (size) of one of the donut slices // This will never be translated // For example, the value could be 500 if 500 men responded Yes. Value float64 // This is the formatted version of the value // This does not include units (Example: " days", " users") // Examples: // -5 -> "5/10" // -1500000000000 -> "1.5 trillion" ValueFormatted string }