UNPKG

jqwidgets-scripts-custom

Version:

jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.

37 lines (36 loc) 1.38 kB
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>jqxBarGauge Fluid Size Example. The width and height of the jqxBarGauge in this demo are in percentages.</title> <link rel="stylesheet" href="../../../jqwidgets/styles/jqx.base.css" type="text/css" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <script type="text/javascript" src="../../../scripts/jquery-1.12.4.min.js"></script> <script type="text/javascript" src="../../../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../../../jqwidgets/jqxdraw.js"></script> <script type="text/javascript" src="../../../jqwidgets/jqxbargauge.js"></script> <style> html, body { width: 100vw; height: 100vh; padding: 0; margin: 0; overflow: hidden; } </style> <script> $(document).ready(function myfunction() { $('#barGauge').jqxBarGauge({ width: '75%', height: '75%', colorScheme: 'scheme11', values: [32, 11, 100, 49, 69, 20] }); }); </script> </head> <body> <div id='barGauge'></div> </body> </html>