mirror of
https://github.com/jlengrand/d3-progress-meter.git
synced 2026-03-10 08:11:18 +00:00
3cd0053fbd6f1d0d5cec94e00ab44b1f8539728c
d3-progress-meter 
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.
Usage
bower install d3-progress-meter
<d3-progress-meter radius="100" percentage="0.35" current-text="70" goal-text="Goal: 200" type-text="transactions"></d3-progress-meter>
Properties
| Property | Type | Description | Example |
|---|---|---|---|
| radius | Number | Radius of the meter. The element will have twice the size of the radius. | 100 |
| percentage | Number | Progress in percent | 0.4 |
| current-text | String | Large number showing current progress | $8 |
| goal-text | String | Small text indicating when progress will be 100% | Goal: $20 |
| type-text | String | Bottom text describing for what progress is measured | Sales |
Continuous integration
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.
Description
Languages
HTML
100%
