Giter Site home page Giter Site logo

canvgauge's Introduction

CanvGauge

Pure HTML5/JavaScript gauge implementation now for Qlik Sense.

Description

This visualization extension brings Mikhus implementation of gauge using pure JavaScript and HTML5 canvas to be integrated with Qlik Sense. Original souce: https://github.com/Mikhus/canv-gauge/wiki

Screenshots




Installation

  1. Download the content.
  2. Deploy the extension to your Qlik Sense environment.
    1. Qlik Sense Desktop: Copy the entire contents of the .zip file to "C:\Users\\Documents\Qlik\Sense\Extensions\CanvGauge"
    2. Qlik Sense Server: Follow the instructions for "Deploying visualizations in Qlik Sense"


Usage

Open a Qlik Sense app sheet, start Edit mode, then drag and drop CanvGauge from the Charts menu onto the sheet.
        



Settings


About Color Settings

The colors in the settings can be specified by the following methods:
  1. Hexadecimal colors
  2. RGB colors
  3. RGBA colors
  4. HSL colors
  5. HSLA colors
  6. Predefined/Cross-browser color names
More info about the methods follow the link:
http://www.w3schools.com/cssref/css_colors_legal.asp

Layout Settings

In this section we can define the background color of the Gauge and if have a glow or not.



Ticks Settings

In this section we can define the color of the Major and Minor ticks, stroke line or not, the number of minor ticks visible and also define the Major ticks.
If the Major ticks is empty the gauge calculate them automatically


Below one example with Stroke Ticks (the left one) and other Without (the right one)



Values Settings

In this section we can define values color and format (number of decimal places and leading zeros), also the minimum and the maximum value presented by the gauge.



Titles & Units Settings

In this section we can define the title (notice that this is the inside gauge title) and it's color and a unit label.



Needle Settings

In this section we can define the color of the Needle and it's animation.
By default the needle always have define animation (elastic) but through this section we can override this animation.



Highlights Settings

The Highlights must be defined as the follow:
"from" : < tick number >, "to" : < tick number >, "color" : "< color >"



License

Copyright © 2015 Bruno Silva

Released under the MIT license.

canvgauge's People

Contributors

codingbsilva avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.