You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/04/05 22:49:00 UTC
[jira] [Commented] (IMPALA-12037) Update chart.js
[ 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 <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
> 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org