pingcap/ossinsight-lite

Chart config option not work correctly

Closed this issue · 1 comments

hooopo commented
image image
  1. the config for chart can not change, or when it changed, but chart not change together.
  2. the y value of the chart display wrong.

sql for debug:

SELECT
    TIMESTAMPDIFF(YEAR, created_at, CURDATE()) AS years_ago,
    COUNT(*) AS num_users
FROM
    users
JOIN
    starred_repos ON users.id = starred_repos.user_id
GROUP BY
    years_ago
ORDER BY
    years_ago ASC;
933410-fc2a705a967a6f9f.js:9 Uncaught TypeError: Cannot use 'in' operator to search for 'eventPhase' in category
    at 7896-64186b2222716838.js:1:936
    at Object.current (7896-64186b2222716838.js:1:2231)
    at Object.current (layout-040b3d7eebd75593.js:1:6253)
    at 3412-79a9ee1399bef40f.js:1:4062
    at Object.onValueChange (3412-79a9ee1399bef40f.js:1:4527)
    at C (3803-2056de7050ead8e3.js:1:20527)
    at 3412-79a9ee1399bef40f.js:1:269
    at Object.ab (f3933410-fc2a705a967a6f9f.js:9:70769)
    at aC (f3933410-fc2a705a967a6f9f.js:9:70923)
    at f3933410-fc2a705a967a6f9f.js:9:137512
(