sap.viz.ui5.controls.VizFrame: Clicking a data point in Line Chart triggers console error
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
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.
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
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from UI5/openui5
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
[TypeScript] AggregationBindingInfo#groupHeaderFactory incorrectly restricts group keys to stringOpendocumentation in progress
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
sap.m.Menu itemSelected event parameter item is typed too broadlyMay be free again @didip1000 claimed this 64 days ago, and no pull request is open. Openbug documentation in progress
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
CodeEditor - manually closing a tag causes crashPossibly taken @olannyv claimed this 29 days ago. Openbug in progress
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug in progress
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
laaielichter/AgentHaven#294 ·
Maintainers usually reply within 1 day
-
documentation P3 tests
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
cafebugado/backendeventos-public-api#128 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/OpenSearch-Dashboards#13289 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
erkamyaman/rea-games#246 ·
Maintainers usually reply within 1 day