1. I have been studying how to create the relationship diagram of echarts in the morning. echarts has two official websites, one is echarts3 and the other is echarts2. I have been using echarts3. There are several complicated examples in which all call an xml. This xml is an The famous relationship diagram (do you only draw relationship diagrams?) software Gephi exports the format gexf. The initial idea was to dynamically generate this xml, but later I found it was a bit complicated. Then I looked at a few simple examples, combined with the documentation, and found that it is You can directly write in json format, which involves some array encapsulation and the php array append method: $nodes = array(); $nodes[] = XXX
,javascript的append方法:var nodes = new Array(); nodes.push('XXX');
2. The problem I dealt with at noon was that when the customer service staff named a credit report, there was a character that I could not parse. The unicode code is /u00A0, and the ordinary space is /u0020. Later, I checked the information and found that the space /u00A0 is called non breaking space. , which is commonly used on web pages. If Python uses gbk to encode /u00A0, an error will be reported! The customer service staff probably named the file by copying and pasting, which caused this problem! From this point, we can also infer that the file name Wang passed to me was a file name with unicode characters
3. PHP retrieves all results from SQL query
$nodes = array();
while($row = mysql_fetch_array($result)) <br>
{ <br>
$row_hash = array("name" => $row['Id']); <br>
$nodes[] = $row_hash; <br>
}<br>
4. I also do some boring work, such as changing the interface from English to Chinese, making ppt, etc.
5. After some debugging, I found that it was not my fault at all
6. I discussed decision-making issues related to credit review with my colleagues. Basically, what Colleague Xiao said is that the weight of overdue indicators should be very large, while Tony attaches too much importance to data. Regardless of whether the data is contrary to common sense, I found that Tony also wants to use some of the current indicators that are not so Make some adjustments for accurate approval, so I think Tony values data too much!