Skip to main content
Solved

Chart value showing up as 15k instead of 15000


Forum|alt.badge.img+4

Hey all,

is it possible to display the whole value instead of displaying it as 15k?

We want to display it like this because the user may mistake it as 15kg

 

Best answer by Tim de Lang

Hi Timothy,

This seems to work for me:

{

  "defaultApplication": "",

  "defaultPlatform": 3,

  "loginOptionsDisabled": false,

  "loginOptionsHidden": false,

  "installNotificationDisabled": true,

  "installNotificationExpirationInDays": 30,

  "useFormFieldBackgroundColor": true,

  "chartDefaults": {

    "numberScaleValue": "1",

    "numberScaleUnit": ""

  }

}

It says to scale the value per 1, rather than (1000, 1000) and leave the unit (K, M) empty.

Kind regards,

Tim de Lang

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

3 replies

Tim de Lang
Moderator
Forum|alt.badge.img+4
  • Moderator
  • 90 replies
  • August 2, 2023

Hi Timothy,

You can specify chart attributes in Universal as per https://docs.thinkwisesoftware.com/docs/sf/cubes#configure-chart-properties

I think the property you are looking for is something like

"chartDefaults": {

  "formatNumber": "0"

}

as per https://www.fusioncharts.com/dev/chart-guide/chart-configurations/number-format.

Kind regards,

Tim de Lang


Forum|alt.badge.img+4

Hey @Tim de Lang ,

I’ve tried what you suggested and it still doesn’t work.

 

These are the things i’ve tried in the config.json:

  1. {
        "defaultApplication":  "",
        "defaultPlatform":  3,
        "loginOptionsDisabled":  false,
        "loginOptionsHidden":  false,
        "installNotificationDisabled":  true,
        "installNotificationExpirationInDays":  30,
        "useFormFieldBackgroundColor":  true,
        "chart":{
          "formatNumber":"0"
       }
    }
  2. {
        "defaultApplication":  "",
        "defaultPlatform":  3,
        "loginOptionsDisabled":  false,
        "loginOptionsHidden":  false,
        "installNotificationDisabled":  true,
        "installNotificationExpirationInDays":  30,
        "useFormFieldBackgroundColor":  true,
        "chartDefaults":{
          "formatNumber":"0"
       }
    }
  3. {
        "defaultApplication":  "",
        "defaultPlatform":  3,
        "loginOptionsDisabled":  false,
        "loginOptionsHidden":  false,
        "installNotificationDisabled":  true,
        "installNotificationExpirationInDays":  30,
        "useFormFieldBackgroundColor":  true,
        "chartDefaults":{
          "formatNumberScale":"0"
       }
    }
  4. {
        "defaultApplication":  "",
        "defaultPlatform":  3,
        "loginOptionsDisabled":  false,
        "loginOptionsHidden":  false,
        "installNotificationDisabled":  true,
        "installNotificationExpirationInDays":  30,
        "useFormFieldBackgroundColor":  true,
        "chart":{
          "formatNumberScale":"0"
       }
    }
  5. {
        "defaultApplication":  "",
        "defaultPlatform":  3,
        "loginOptionsDisabled":  false,
        "loginOptionsHidden":  false,
        "installNotificationDisabled":  true,
        "installNotificationExpirationInDays":  30,
        "useFormFieldBackgroundColor":  true,
        "chartDefaults":{
          "yFormatNumberScale":"0"
       }
    }

 

Also who pays the expenses on these? i’ve read that there are plans

https://cart.fusioncharts.com/


Tim de Lang
Moderator
Forum|alt.badge.img+4
  • Moderator
  • 90 replies
  • Answer
  • August 3, 2023

Hi Timothy,

This seems to work for me:

{

  "defaultApplication": "",

  "defaultPlatform": 3,

  "loginOptionsDisabled": false,

  "loginOptionsHidden": false,

  "installNotificationDisabled": true,

  "installNotificationExpirationInDays": 30,

  "useFormFieldBackgroundColor": true,

  "chartDefaults": {

    "numberScaleValue": "1",

    "numberScaleUnit": ""

  }

}

It says to scale the value per 1, rather than (1000, 1000) and leave the unit (K, M) empty.

Kind regards,

Tim de Lang


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings