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

X and Y scale and reference values #131

Closed
nunojsferreira opened this issue Dec 16, 2014 · 4 comments
Closed

X and Y scale and reference values #131

nunojsferreira opened this issue Dec 16, 2014 · 4 comments

Comments

@nunojsferreira
Copy link

Is it possible to set the scale on both axis? Like for example

Image of Yaktocat

on the X 13, 14, 14 ...
and on the Y 200, 400, ...

Thanks,
Nuno

@terryworona
Copy link
Collaborator

The x-axis is automatically scaled uniformly across the total number of values you supply the chart.

It's currently not possible to change the x-axis scale. This issue being tracked via #115.

The y-axis can be modified via the minimum and maximum chart properties.

Hope this helps.

@nunojsferreira
Copy link
Author

Thanks terryworona.

I don't really want to change the scale, i just want to show some values of
the scale. Like small labels with fixed intervals (like the 200, 300, 400
on the previous example)

2014-12-16 18:25 GMT+00:00 terryworona [email protected]:

The x-axis is automatically scaled uniformly across the total number of
values you supply the chart.

It's currently not possible to change the x-axis scale. This issue being
tracked via #115 #115.

Hope this helps.


Reply to this email directly or view it on GitHub
#131 (comment).

Nuno Ferreira

@terryworona
Copy link
Collaborator

@nunojsferreira that can be accomplished by supplying a custom footer view and adding labels to it. It will require a bit of work to align, but should be fairly straightforward.

See the demo project for examples on how to do this.

@nunojsferreira
Copy link
Author

Thanks @terryworona. I will try.

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