GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - abdullah/nestedchart: JavaScript 2D canvas nested pie-chart

BranchesTags
Open more actions menu

Latest commit

 

History

21 Commits
21 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
index.html
index.html
 
 
piess.png
piess.png
 
 
sketch.js
sketch.js
 
 

Repository files navigation

nestedchart

JavaScript 2D canvas nested pie-chart

Demo

Alt text

   var config = {
        canvas: "mycanvas",
        cw: 800,
        ch: 800,
        fontSize: 11,
        labelLineWidth: 10,
        labelLineHeight: 4,
        labelLineOffset: 4,
        labelStrokeWeight: 1,
        labelColor: "#111111",
        outSideLineWidth: 10,
        donutWith: 40,
        radius: 200,
        hoverOpacPercent:0.2,
        secondColorOpacPercent:0.6,
        values: [],
        onhover: function () { },
        values:[
        {
          max:11,
          current:1,
          currentColor:'#31C820',
          labelText:" %m JAVA %c JavaScript"
        },
        {
          max:14,
          current:3,
          currentColor:'#DA0036',
          labelText:"ANDROID"
        },
        {
          max:10,
          current:5,
          currentColor:'#291FCC',
          labelText:"IOS"
        },
        {
          max:20,
          current:5,
          currentColor:'#2C6981',
          labelText:"SWIFT"
        }
      ]
    }
    var c = new Chart(config)
    c.draw()
        

About

JavaScript 2D canvas nested pie-chart

Resources

Readme
Activity

Stars

6 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.