Tag:Ridiculous

  • Canvas series tutorial 04 – histogram project 2

    Time:2020-10-7

    We do some preparatory work in advance, such as drawing before the first coordinate margin, as well as various font sizes. You need a little bit of object-oriented knowledge here, ‘use strict’; //Imitation http://echarts.baidu.com/demo.html#bar -gradient window.onload = function(){ var data = [ {“label”: “January”, “value”: getrandomint (0400)}, {“label”: “January”, “value”: getrandomint (1400)}, {“label”: “January”, “value”: […]

  • Canvas series tutorial 05 – histogram project 3

    Time:2020-10-6

    The book continues with the above, we do some preparatory work in advance, such as drawing before the first coordinate margin, as well as various font sizes. You need a little bit of object-oriented knowledge here, ‘use strict’; //Imitation http://echarts.baidu.com/demo.html#bar -gradient window.onload = function(){ var data = [ {“label”: “January”, “value”: getrandomint (0400)}, {“label”: “January”, […]