Home  >  Article  >  Web Front-end  >  The value in the vertical axis json of the highchart data source must be int (detailed explanation)

The value in the vertical axis json of the highchart data source must be int (detailed explanation)

高洛峰
高洛峰Original
2017-02-21 15:18:291058browse

The following editor will bring you an article. The value in the vertical axis json of the highchart data source must be int (detailed explanation). The editor thinks it is quite good, so I will share it with you now and give it as a reference for everyone. Let’s follow the editor to take a look.

var users = ["0","0","0","0","0","2","0"];

Such vertical axis data will not be displayed. The value in json must be of type int.

It must be like this:

##

var users = [1,1,1,1,1,1,1];

Can't it be transferred automatically? Or am I doing something wrong and not setting a certain parameter?

The value in the vertical axis json of the highchart data source above must be int (detailed explanation) is all the content shared by the editor. I hope it can give you a reference, and I also hope that everyone will support the PHP Chinese website. .

For more highchart data source, the value in the vertical axis json must be int (detailed explanation). Please pay attention to the PHP Chinese website for related articles!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn