GithubHelp home page GithubHelp logo

hhy5277 / g.raphael Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dmitrybaranovskiy/g.raphael

0.0 2.0 0.0 1.67 MB

Charts for Raphaël

Home Page: http://g.raphaeljs.com/

JavaScript 80.29% HTML 18.87% CSS 0.84%

g.raphael's Introduction

g.Raphaël - Official charting plugin for Raphaël

For more information, see: http://g.raphaeljs.com/

Changelog

v0.51

  • Fixed issues with piechart related to hrefs
  • Exposed minPercent and maxSlices in piechart
  • merged several pull requests fixing other issues
  • created docs using dr.js (see docs/reference.html)

v0.5

  • Refactored codebase and API to work with Raphaël 2.0
  • g is no longer a namespace, but instead a prototype object that all charts inherit. See documentation for all configurable options on the g prototype.
  • g.markers has been removed. The marker parameter strings now just try and resolve functions on the Paper prototype.
  • All primitive shapes have been removed. They are now part of Raphaël core in plugins/
  • The companion function original to the brightness functions lighter and darker has been renamed to resetBrightness to account for the g namespace removal
  • Tooltips have been modified/enhanced in the following ways:
    • All tooltips can now be called on any Element or Set instance, as well as from the paper object.
    • All tooltip update functions have been removed. Tooltip functions now return their path element. It is up to the caller to manage both the Element or set that is used as the context and the path element that was drawn by the tooltip function.
    • All tooltip dir options have been changed from 0, 1, 2, 3, to 'down', 'left', 'up', 'right' repectively.
    • blob and drop tooltips no longer accept size parameters. Instead, the bounding box of the Element/Set being used as content is used to automatically determine the size.
    • popupit and labelit have been removed. Their functionality is now the default behavior of all tooltips

g.raphael's People

Contributors

alexanderkjall avatar bryfox avatar dmitrybaranovskiy avatar karolk avatar matschaffer avatar rzurad avatar sirfix-a-lot 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.