[ 
https://issues.apache.org/jira/browse/IMPALA-12037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17709130#comment-17709130
 ] 

ASF subversion and git services commented on IMPALA-12037:
----------------------------------------------------------

Commit 73a33d93d9027db2d34c0b36264f9eebbe0e49ce in impala's branch 
refs/heads/master from Michael Smith
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=73a33d93d ]

IMPALA-12037: Update Chart.js to 2.9.4

Updates Chart.js to 2.9.4 for bug fixes and to avoid prototype
pollution. Added Chart.min.js from
https://github.com/chartjs/Chart.js/releases/tag/v2.9.4. Moment.js from
bundle does not seem to be needed.

Chart.js 2.8 introduced https://github.com/chartjs/Chart.js/issues/6154,
which causes the last X-axis label with "and above" to always be
omitted. Add a custom autofit function to calculate our own spacing.

Testing:
- Examined /admission page with multiple queries admitted. Graph appears
  to render correctly.

Change-Id: Ia4e0da58755b9561ddc75c217ef227a81c80a2a6
Reviewed-on: http://gerrit.cloudera.org:8080/19683
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Update chart.js
> ---------------
>
>                 Key: IMPALA-12037
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12037
>             Project: IMPALA
>          Issue Type: Task
>          Components: Frontend
>            Reporter: Michael Smith
>            Assignee: Michael Smith
>            Priority: Major
>
> Update chart.js to 2.9.4 for bug fixes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to