VitaraCharts for ThoughtSpot
  • CHART USER GUIDE
    • Angular Gauge Chart
    • Bar/Column Chart
    • Combination Chart
    • Dumbbell Chart
    • Funnel Chart
    • Grid Chart
    • KPI Animation Chart
    • Line/Area line Chart
    • Pie Chart
    • Polar Charts
    • Slope Chart
    • Sparkline Chart
    • Stacked Column/Bar
    • Tornado Chart
    • Variwide Chart
    • Waffle Chart
    • Add as Filter
    • Allow/Block URLs
    • Auto Scroll
    • Axes
    • Background Images
    • Bar/Column Width
    • Color Picker with Opacity
    • Connect Null Points
    • Custom Markers
    • Data Markers
    • Data label customization
    • Download Answers
    • Error Bars
    • Export to PDF.
    • Formatting metric data
    • Gradient Threshold
    • Gradient Color
    • Legend
    • Negative Sign
    • Pattern Fill
    • Play Animation
    • Plot lines/Reference lines
    • Reset color property
    • Reset font properties
    • Right Click Menu
    • Series using Attribute
    • Small Multiples
    • Smooth Line
    • Tooltip Customization
    • Tooltip Links
  • GRID CHART GUIDE
    • Appearance
    • Auto Size
    • Column Totals
    • Custom markers
    • Custom Editor
    • Filter Data
    • Format/Clear Format
    • Grand Total
    • Pivoting and Row Grouping
    • Horizontal Bars/Pins
    • Manage Scaling Grouping
    • Manage Column Grouping
    • Manage Metric Grouping
    • Pin Column
    • Reset Columns
    • Show/Hide Column
    • Sorting
    • Subtotals
    • Thresholds
    • Tooltip
    • Trend Lines
    • Value Aggregation
  • CUSTOMIZATION GUIDE
    • Custom CSS
    • Custom CSS Samples
    • Custom Color Palette
    • Custom Fonts
    • Condensed Metric Format
    • Grid Custom CSS
  • INSTALL DOCS
    • Production Deployment
    • Trial Deployment
  • FAQ
    • Contact Us
    • FAQS
      • How we can do export to PDF
      • How can we define a custom color palette?
      • How can we define and use a new font?
      • How can customers reach Vitara technical support team?
      • How can I find the version of Vitaracharts installed?
      • Where can I find the chart state information?
Powered by GitBook
On this page
  1. CUSTOMIZATION GUIDE

Condensed Metric Format

PreviousCustom FontsNextGrid Custom CSS

Last updated 6 months ago

Metric suffixes used to shorten high numbers in axis labels and data labels

Vitara charts will minimize the number in axis and data labels. The shortened metric suffixes can be changed to meet the needs of the user.

This can be accomplished by including the following code in the ‘global.txt’ file. The ‘global.txt’ file will be found in the Vitara charts plugin folder. Vitara charts → Custom folder → global.txt.

#Metric suffixes used to shorten high numbers in axis labels.
#empty-value, space, null is discarded.
shortFormatSymbols=k, M, B, T, P, E

In the preceding code, ‘k’ represents the suffix for 1000, M represents the suffix for 1000,000, B represents the suffix for 1,000,000,000, and so on. We can edit the suffix character in Vitara Charts to suit our needs.

For example, the value 1, 000, 000, 000 is automatically shortened as 1B. If we want to alter the suffix ‘B’ to another character, like ‘G,’ we must replace ‘B’ with ‘G’ in the above code.

shortFormatSymbols=k, M, G, T, P, E 

Save the ‘global.txt’ file and reopen your document. The below screenshot shows the new suffix ‘G’.

Note: If you still see the older suffix after reloading the dashboard, clear your browser’s cache and reload the dashboard.