GithubHelp home page GithubHelp logo

cloudxtreme / d3-progress-meter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from collaborne/d3-progress-meter

0.0 0.0 0.0 870 KB

Web component providing a D3 based progress meter (Polymer 1.x)

Home Page: https://www.webcomponents.org/element/Collaborne/d3-progress-meter

License: Apache License 2.0

HTML 100.00%

d3-progress-meter's Introduction

d3-progress-meter Bower version Travis state Published on webcomponents.org
Published on Vaadin  Directory Stars on vaadin.com/directory

d3-progress-meter is an animated chart that shows the progress as a meter. The web component is built with Polymer 1.x and D3.

The component has been inspired by EK-progress-meter.

To use this element:

bower install d3-progress-meter

Examples

<d3-progress-meter radius="100" percentage="0.2" current-text="70" goal-text="Goal: 200" type-text="transactions"></d3-progress-meter>
<d3-progress-meter radius="100" percentage="0.65" current-text="6.5m" goal-text="Goal: $10m" type-text="revenue"></d3-progress-meter>
<d3-progress-meter radius="100" percentage="0.9" current-text="225" goal-text="Goal: 250" type-text="points"></d3-progress-meter>

Custom Styling

<style is="custom-style">
    .custom {
        --progress-meter-background-color: #00FFFF;
        --progress-meter-color-low: #009999;
        --progress-meter-color-medium: #009999;
        --progress-meter-color-high: #009999;
        --progress-meter-color-current: #009999;
    }
</style>

<d3-progress-meter class="custom" radius="100" percentage="0.5" current-text="10" goal-text="Goal: 20" type-text="Visits" caption="New visits per day"></d3-progress-meter>

License

This software is licensed under the Apache 2 license, quoted below.

Copyright 2011-2015 Collaborne B.V. <http://github.com/Collaborne/>

Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.

d3-progress-meter's People

Contributors

ankon avatar binbalenci avatar mlazzarini avatar ronnyroeller avatar tpluscode 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.