Sign in to follow this  
1aman11

tick marks on angular gauge

Recommended Posts

Hi ,

I am trying to create two fusion angular gauges and have used the same xml parameters. However, the tick marks shown on one is more than the other. i am attaching the pic to describe what problem I am running into.

 

Here is the list of XML parameters used as cosmetics to the angular gauge

 

"caption" => "Upstream Bandwidth Usage(Kbps)",
            "showtickvalues"=>"1",
            
             "gaugefillmix"=>"{dark-40},{light-40},{dark-20}",
  "decimalPrecision"=>"0",
//   "showvalues"=> "1",
    //  "upperLimitDisplay"=>"0",
 
"showHoverEffect"=>"1",
               "skipOverlapLabels"=>"1",
  "manageOverLapping"=>"1",
 "showtickmarks"=>"0",
  "autoAlignTickValues"=>"1",
// "lowerLimitDisplay"=>"1",
"lowerLimit"=>"0",
"captionFontColor"=>"#000000",
"showLimits"=>"1",
"theme"=>"fint"
        
 
These cosmetics are same for both the charts.
 
Please advise as how to make sure number of tick marks shown is same . Even better would be to just show the start and ending number.
 
Thanks,
Aman

  

post-71863-0-86463800-1489117337_thumb.png

Share this post


Link to post
Share on other sites

Hi,

 
We checked the scenario from our end and checked that the tick marks are getting same on both the charts, to get the same number of tick marks on both gauge you can specify the number using "majorTMNumber" attribute and set it to "6", also please set "autoAlignTickValues" attribute to 0.

For further reference please check this sample fiddle link http://jsfiddle.net/ayanbhaduryfc/9mLLwhhx/
 
If still you are facing any problem you can modify the above sample fiddle with your own data source and send back to us.
Edited by Ayan Bhadury

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this