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 tick label and line style customization for each axis #452

Open
3 tasks done
Tracked by #2320
poffdeluxe opened this issue Nov 19, 2019 · 0 comments
Open
3 tasks done
Tracked by #2320

Allow tick label and line style customization for each axis #452

poffdeluxe opened this issue Nov 19, 2019 · 0 comments
Labels
:axis Axis related issue enhancement New feature or request :xy Bar/Line/Area chart related

Comments

@poffdeluxe
Copy link

Is your feature request related to a problem? Please describe.
It would be nice to be able to independently style separate axes. So, for example, maybe have the x-axis tick labels be italicized but keep the y-axis the default.

Describe the solution you'd like
The chart components allow you to pass relevant style objects directly to the props (for example, AreaSeries has an areaSeriesStyle prop for the series styling. It would be great if the Axis component also had tickLabelStyle and tickLineStyle props

Describe alternatives you've considered
No real alternative at the present if I want individual styling

Additional context
In Canvas specifically, after we migrate from our current charting solution to Elastic Charts, we want to add additional axis configuration options (like label rotation, coloring etc) but that will require setting styling options individually for axes. elastic/kibana#44325
To be clear though, this is a future enhancement for Canvas and is not preventing us from migrating to Elastic Charts right now.

Possibly related to: #260

Checklist

  • this request is checked against already exist requests
  • every related Kibana issue is listed under Kibana Cross Issues list
  • kibana cross issue tag is associated to the issue if any kibana cross issue is present
@poffdeluxe poffdeluxe added the enhancement New feature or request label Nov 19, 2019
@markov00 markov00 added the :axis Axis related issue label Mar 26, 2020
@markov00 markov00 added the :xy Bar/Line/Area chart related label Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:axis Axis related issue enhancement New feature or request :xy Bar/Line/Area chart related
Projects
None yet
Development

No branches or pull requests

2 participants