UNPKG

jqwidgets-framework

Version:

jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.

58 lines (56 loc) 3.02 kB
<!DOCTYPE html> <html lang="en"> <head> <meta content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/> <meta name="msapplication-tap-highlight" content="no" /> <title>JavaScript BulletChart - Mobile Example</title> <link rel="stylesheet" href="../styles/demo.css" type="text/css" /> <link rel="stylesheet" href="../../../../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../../../../jqwidgets/styles/jqx.windowsphone.css" type="text/css" /> <link rel="stylesheet" href="../../../../jqwidgets/styles/jqx.blackberry.css" type="text/css" /> <link rel="stylesheet" href="../../../../jqwidgets/styles/jqx.android.css" type="text/css" /> <link rel="stylesheet" href="../../../../jqwidgets/styles/jqx.mobile.css" type="text/css" /> <script type="text/javascript" src="../../../../scripts/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="../../../../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../../../../jqwidgets/jqxdata.js"></script> <script type="text/javascript" src="../../../../jqwidgets/jqxbuttons.js"></script> <script type="text/javascript" src="../simulator.js"></script> <script type="text/javascript" src="../../../../jqwidgets/jqxbulletchart.js"></script> <script type="text/javascript" src="../../../../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript"> $(document).ready(function () { var theme = prepareSimulator("bulletchart"); $("#jqxBulletChart").jqxBulletChart({ width: '50%', height: '80%', orientation: 'vertical', barSize: "40%", title: "Revenue 2014 YTD", description: "(U.S. $ in thousands)", ranges: [ { startValue: 0, endValue: 200, color: "#000000", opacity: 0.5 }, { startValue: 200, endValue: 250, color: "#000000", opacity: 0.3 }, { startValue: 250, endValue: 300, color: "#000000", opacity: 0.1 } ], pointer: { value: 270, label: "Revenue 2014 YTD", size: "25%", color: "Black" }, target: { value: 260, label: "Revenue 2013 YTD", size: 4, color: "Black" }, ticks: { position: "both", interval: 50, size: 10 }, labelsFormat: "c", showTooltip: true }); initSimulator("bulletchart"); }); </script> </head> <body style="background: white;"> <div id="demoContainer" class="device-mobile"> <div id="container" class="device-mobile-container"> <div style="height: 100%; background: #eee;"> <div style="height: 10%;"></div> <div style="margin-left: 25%;" id="jqxBulletChart"> </div> </div> </div> </div> </body> </html>