Angular Gauge set values beyond max to max limit

Recommended Posts



When a value is beyond the max limit, I want the gauge tick to be at the maximum limit . Is this possible using the Angular Gauge ?






Share this post

Link to post
Share on other sites



Welcome to FusionCharts Forum.


In Angular Gauge, it is possible to set the dial value to the maximum limit when the value is beyond maximum limit using the FusionCharts API setData().


Syntax: setData(dialIndex, value)

Description: This method sets the data for the given dial index on the chart. The first dial is represented by index 1, second by 2 and so on.


Also, you can change the maximum limit value dynamically using FusionCharts API setChartAttribute() .


Syntax: setChartAttribute(attributes, value)

Description: Updates a chart's data attributes with the new attribute-value pair. In other words, it updates a chart's data definition root.


A sample has been attached for the two possible cases suggested.


Hope this helps. :)

Edited by Vishalika

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