Skip to content

🔨 Charting Updates#28

Merged
serkor1 merged 19 commits intodevelfrom
plotly-QOL
Feb 12, 2026
Merged

🔨 Charting Updates#28
serkor1 merged 19 commits intodevelfrom
plotly-QOL

Conversation

@serkor1
Copy link
Owner

@serkor1 serkor1 commented Feb 8, 2026

📚 What?

This PR introduces changes to the <plotly>-methods and the overall charting API. Specifically:

Some of the <plotly>-methods have been streamlined and simplified. The trading_volume(), for example, have had removed its legends for the bars.

* This is the initial sketch of how a custom theming
  of the charts has to be done. The goal is to simplify
  theming so it supports color deficiency themes, and many others.
* The goal is to prepare it for combined indicators
  its a bit of an annoying exercise at this stage. Maybe
  a separate branch is warranted.
* These functions are using the charting variables, and
  needed some tweaks. The bars on the trading_volume() have been
  removed as they are redundant information wise.
@serkor1 serkor1 added the enhancement New feature or request label Feb 8, 2026
@codecov
Copy link

codecov bot commented Feb 8, 2026

Codecov Report

❌ Patch coverage is 95.38578% with 61 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.26%. Comparing base (9c40807) to head (24ecc4d).
⚠️ Report is 1 commits behind head on devel.

Files with missing lines Patch % Lines
R/chart_theme.R 52.00% 12 Missing ⚠️
R/chart_options.R 28.57% 5 Missing ⚠️
R/chart.R 97.10% 2 Missing ⚠️
R/chart_indicator.R 71.42% 2 Missing ⚠️
R/ta_AD.R 95.65% 1 Missing ⚠️
R/ta_ADOSC.R 95.65% 1 Missing ⚠️
R/ta_ADX.R 95.65% 1 Missing ⚠️
R/ta_ADXR.R 95.65% 1 Missing ⚠️
R/ta_APO.R 95.65% 1 Missing ⚠️
R/ta_AROON.R 95.65% 1 Missing ⚠️
... and 34 more
Additional details and impacted files
@@            Coverage Diff             @@
##            devel      #28      +/-   ##
==========================================
+ Coverage   96.25%   96.26%   +0.01%     
==========================================
  Files         271      272       +1     
  Lines       12661    12996     +335     
==========================================
+ Hits        12187    12511     +324     
- Misses        474      485      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

* If the indicator() were called without chart() it would
  fail due to incorrect variable passing.
* Functions nows includes grid-lines and colorway.
* This will ensure alignment with the last values.
* It will now always reformat numbers higher than 999
  regardless of series size.
* It will now do a direct search instead of a negated
  search.

* The numbers are now properly formatted to avoid double precision
  when a matrix is passed.
* The current implementation is a greedy match using grep.
  - For DX it will include the 'idx' column. This will be fixed "later".
* The <data.frame> is now passed in a subsetted
  version to add_last_values(), instead of searching
  for the columns.
* Similar to hawks and doves.
* It is now called as set_theme$theme_name()
    - Much cleaner solution.
* Simple and straight-forward.
@serkor1 serkor1 merged commit 0648ccb into devel Feb 12, 2026
22 of 23 checks passed
@serkor1 serkor1 deleted the plotly-QOL branch February 12, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant