Using the echarts bar (histogram) data gap is too large, so some data is not 0, but the column cannot be seen

I met a need today. A traditional bar chart. In my heart, I think that I can finish the whole thing with echarts. First step const xlist = ["clothing", "Dinner", "Cosmetics", "Shoe bag leather goods", "Accessories", "Home life", "Non dinner", "Special services", "Special sale", "Recreation & Entertainment", "Digital appliances", "other", ...

Posted on Thu, 04 Jun 2020 21:06:57 -0700 by Osiris Beato

ZTree tool class summary, including: add, edit and delete nodes, and submit to the background

Related reading: Listen to switch switch switch in X-admin2.2, get attribute value and change status When Spring Boot integrates X-admin2.2, the Layui Font Icon fails to display normally or the solution to the problem of garbled code X-admin2.2 form submission method and precautions Error resolving template of Spring Boot ...

Posted on Tue, 02 Jun 2020 07:52:08 -0700 by genecide

How to run a front-end angular project

1. Install first node.js Go to the official website to download and install: https://nodejs.org/en/ 2. Download pkg file and install it on mac 3. After the installation, verify whether it is successful at the terminal $ npm -v 6.14.4 $ node -v v12.16.3 4. Install angular console npm install -g @angular/cli This installs the comma ...

Posted on Fri, 22 May 2020 07:46:54 -0700 by elwadhos

Eggjs Learning Notes Day 33: eggjs creates a base class base.js controller, configures session, and creates a tool.js service (svg-captcha verification code)

1. Create base classes. The role of base classes: for example, login success and failure, administrator new edit success and failure, role new edit success and failure, there are success callbacks and failure callbacks, such as showing a successful information failure, these things are common.So encapsulated with base classes, other classes ca ...

Posted on Mon, 18 May 2020 09:53:22 -0700 by wkerplunk

js+css simulates receiving the data pushed by websocket to achieve the animation effect of bubbling to the top

js+css simulates receiving the data pushed by websocket to achieve the animation effect of bubbling to the top The effect is as follows: 1. The first method Ideas: 1) . define a fake floating box outside. When the data changes, delete the original data node, 2) . put the changed data in this box and move the box to the top 3) . after the box ...

Posted on Fri, 15 May 2020 08:21:41 -0700 by laura_richer

[interesting case] using Python to break through the limit of verification code

1, Experimental description This experiment will use a simple example to explain the principle of decoding verification code, and learn and practice the following knowledge points: Python Basics Use of PIL module 2, Experiment content To install the pilot (PIL) Library: $ sudo apt-get update $ sudo apt-get install python-dev $ sudo apt-get ...

Posted on Wed, 29 Apr 2020 01:58:14 -0700 by Asday

Some knowledge points of ES6

1. Define variables / constants 1) . let defining variables 1. Function: *Similar to var, it is used to declare a variable 2. Features: *Valid in block scope *Cannot repeat declaration *No preprocessing, no promotion 3. Application: *Loop traversal plus monitor *Replacing var with let is the trend 2) . const defin ...

Posted on Wed, 29 Apr 2020 01:00:32 -0700 by deeppak

Conversion between js hex color and rgba color

Definition of basic composition of Chen FF6600FF #FF [red channel] 66 [green Channel] 00 [blue channel] FF [alpha channel (transparency)] This is what it looks like when it's converted to rgba color. It's actually a more coquettish orange color rgba(255,36,0,255) 255=parseInt('FF',16),102=parseInt(66,16),0=parseInt('00',16),255=parseInt('F ...

Posted on Sun, 26 Apr 2020 08:22:14 -0700 by sanch

Classified navigation content slide of wechat applet practice [wechat]

1. First, let's configure the index.json file { "component": true, "usingComponents": {}, "navigationBarTitleText": "Pet Encyclopedia" } 2. Then add the style in the index.wxss file (the meaning and class of the style are not explained specifically) /* pages/baike/index.wxss */ /* 1. Set the background color of the entire page */ ...

Posted on Sat, 25 Apr 2020 07:13:34 -0700 by KindMan

Best practice of interactive class library of remote control on lightweight TV terminal

1, Introduction Hello everyone, what I'm sharing today is the implementation of an interactive class library of TV remote control. From the end of April to the middle of July last year, tal developed our first intelligent hardware, the future treasure box. The future treasure box is similar to millet box, with cartoon shape, which can be easily ...

Posted on Fri, 24 Apr 2020 03:07:32 -0700 by nailzfan