sap.viz.ui5.controls.VizFrame: Clicking a data point in Line Chart triggers console error

オープン
#4,497 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript
領域
frontend

調査の方向性

Start by reproducing the error in the browser console using the linked sap.viz.sample.CustomPopover sample, switching from Bar to Line Chart and clicking a data point. The error names the theming parameter "#168eff" that sap.ui.core.theming.Parameters cannot find, so trace where that color value is passed to the theming lookup for line-chart data points. Done means a click on a line-chart point logs no theming warning or error, with the bar-chart behaviour unchanged.

索引モデルが issue の本文から書いたものです。

説明

bug in progress
What is the issue and how can we reproduce it?
Reproduction

Open the sample: https://ui5.sap.com/#/entity/sap.viz.ui5.controls.VizFrame/sample/sap.viz.sample.CustomPopover/code
Change the chart type from Bar Chart to Line Chart.
Open the browser developer console.
Click any data point in the line chart.

image
Actual Behavior

Every click on a data point logs the following error in the console:
sap.ui.core.theming.Parameters: The following parameters could not be found: "#168eff" -

Expected Behavior

Clicking a data point should not produce any console errors or warnings.

Which OpenUI5 version is your project targeting?

1.139.0, 1.148.7, 1.154.0

Is the issue device- or browser-specific?

No response

Confirmation
  • I have searched the existing issues and reviewed the relevant documentation as well as the API reference.
  • I am not disclosing any internal or sensitive information.
主要言語
JavaScript
スター
3.3k
フォーク
1.3k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

UI5/openui5 のほかの issue

UI5/openui5 の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。