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

draw x labels y labels with different format #38

Open
khiav223577 opened this issue Jan 18, 2021 · 1 comment
Open

draw x labels y labels with different format #38

khiav223577 opened this issue Jan 18, 2021 · 1 comment

Comments

@khiav223577
Copy link

I would like to draw a chart with x labels as integer, and y labels as float number.

I found there is number_format option that can determine the label format.

# [number_format] '%.2f'

But it apply to both x labels and y labels.

@t12nslookup
Copy link
Collaborator

Are you happy to create your own chart type, in your own project?
The TimeSeries chat type inherits from Plot, and specifies it's own x_label_format ... You'd be able to generate your own chart, if you're comfortable overriding the same functions and inherit from Plot.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants