flot jquery y axis option is not working


This is my yasix option

yaxes: { min: 0, max: 100, tickFormatter: function (val, axis) { return val + '%'; } },

but when I run the chart, the max is not 100, plus there is no % sign.

what wrong did i do pleaes?

I didn't post other code becuase I think the problem from the code above, if you see that my code is correct and you need more code kindly tell me please


If you only have a single value, the option is yaxis instead of yaxes. If you have multiple values, you should provide an array.


From the code you provided, see yaxes instead of yaxis . And check if val is in Number or String.. print and see if it is showing as object


  • Insert string variable Into Text Body
  • what is good way to do merge the code in below scenarion (Git,Intellij,Stash)?
  • Can I generate a JSON file with javascript?
  • scope of the mouse adapter
  • Plotly and ggplot with facet_grid in R: How to to get yaxis labels to use ticktext value instead of
  • angular2 chart and events
  • Play Framework nested form errors missing
  • Download/Save/Write a file on the client's hard disk using flash/flex
  • CSS: How to fix overlapping divs
  • scrollOverflow not working in fullPage.js
  • jQuery timepicker 'Object does not support this property or method'
  • Why does IE8 fail to resolve my JQuery selector for a checked radio option?
  • HighCharts - Show tooltip on column where value is 0 or null
  • Responsive Form on top of Responsive Image? - Bootstrap
  • Changing media screen makes div overlay
  • select function not working in 3.5.4 version of d3.js
  • Using Laravel 5.4 pusher
  • Eliminate partial duplicate rows from result set
  • D3 get axis values on zoom event
  • Ajax calls do not work in IE unless you fiddle with security settings
  • Custom validator control occupying space even though display set to dynamic
  • JSON response opens as a file, but I can't access it with JavaScript
  • Meteor: Do Something On Email Verification Confirmation
  • Array.prototype.includes - not transformed with babel
  • Where to put my custom functions in Wordpress?
  • SVN: Merging two branches together
  • RestKit - RKRequestDelegate does not exist
  • Hibernate gives error error as “Access to DialectResolutionInfo cannot be null when 'hibernate.
  • WPF Applying a trigger on binding failure
  • Benchmarking RAM performance - UWP and C#
  • Acquiring multiple attributes from .xml file in c#
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • Turn off referential integrity in Derby? is it possible?
  • apache spark aggregate function using min value
  • How can I remove ASP.NET Designer.cs files?
  • How can I use `wmic` in a Windows PE script?
  • java string with new operator and a literal
  • How to push additional view controllers onto NavigationController but keep the TabBar?
  • jQuery Masonry / Isotope and fluid images: Momentary overlap on window resize