Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow JavaScriptFunction for GridLaneConfiguration lineWidth #289

Closed
4 tasks done
dhelml opened this issue Nov 21, 2024 · 1 comment
Closed
4 tasks done

Allow JavaScriptFunction for GridLaneConfiguration lineWidth #289

dhelml opened this issue Nov 21, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dhelml
Copy link

dhelml commented Nov 21, 2024

Checklist

  • I am able to reproduce the bug with the latest version
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.

Affected version

2.5.0

Steps to reproduce the bug

  1. Check docu on chartjs.org for GridLineOptions
  /**
   * @default 1
   */
  lineWidth: ScriptableAndArray<number, ScriptableScaleContext>;
  1. Allowed values should be Number and JavaScriptFunction

Expected behavior

Same options for Java available

Actual behavior

Only Number supported

Additional information

GridLaneConfiguration color and tickColor has that usecase allready available.
Same option is also missing for tickBorderDash and tickBorderDashOffset.

@dhelml dhelml added the bug Something isn't working label Nov 21, 2024
@AB-xdev AB-xdev self-assigned this Dec 6, 2024
@AB-xdev AB-xdev changed the title Allow JavaScriptFunction for GridLaneConfiguration laneWidth Allow JavaScriptFunction for GridLaneConfiguration lineWidth Dec 6, 2024
@AB-xdev AB-xdev closed this as completed in 24a1a04 Dec 6, 2024
@AB-xdev
Copy link
Member

AB-xdev commented Dec 6, 2024

Will be available in the next release :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants