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

Open
#4,497 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript
Domain
frontend

Research direction

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.

Written by the indexing model from the issue text.

Description

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.
Dominant language
JavaScript
Stars
3.3k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UI5/openui5

All issues in UI5/openui5

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.