Skip to content

Conversation

asmenezes
Copy link

Added Stroke Color and Width to Cartesian scale options, and pass them to drawTitle() so they can be used on the titles for Cartesian scales

Example: https://codepen.io/asmenezes/pen/zxrzaEx

Copy link
Collaborator

@LeeLenaleee LeeLenaleee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add a test for this?

Comment on lines 1599 to 1600
let strokeWidth = title.strokeWidth;
let strokeColor = title.strokeColor;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
let strokeWidth = title.strokeWidth;
let strokeColor = title.strokeColor;

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change should be made

Comment on lines 1620 to 1621
strokeColor: strokeColor,
strokeWidth: strokeWidth
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we only use it here it is not necesarry to put it in a separate variable.

Suggested change
strokeColor: strokeColor,
strokeWidth: strokeWidth
strokeColor: title.strokeColor,
strokeWidth: title.strokeWidth

LeeLenaleee and others added 10 commits October 13, 2025 07:37
Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/pnpm/action-setup/releases)
- [Commits](pnpm/action-setup@v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: pnpm/action-setup
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@asmenezes
Copy link
Author

Can you also add a test for this?

Added an image based test. Let me know if that's not the appropriate way to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants