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

Can we create thumb for each chart? #111

Closed
liuxuan30 opened this issue May 28, 2015 · 4 comments
Closed

Can we create thumb for each chart? #111

liuxuan30 opened this issue May 28, 2015 · 4 comments

Comments

@liuxuan30
Copy link
Member

Can we create a thumb view or a thumb image for each chart?

Say I have a dashboard, and I want to display many cells that is a chart. I need a very small view for each chart acts as the thumb view.

I feel use images converted from chart view could improve the perfomance, but I don't know how to do it.

@danielgindi
Copy link
Collaborator

Did you even try to look at the API of your chart?

@liuxuan30
Copy link
Member Author

I am sorry if I makes you feel that way. I did take a look at it, but I am not familiar with swift, and I don't see there is a API can create a thumb. Are you implying that I could send any size and the chart could fit accordingly? e.g. if I give 50x50 and 200x200 for two radar charts, the 50x50 size can still display the radar correctly and same content as the 200x200 one?

I do see there is a API getChartImage, is this what you are refering for creating chart image?

@danielgindi
Copy link
Collaborator

It has nothing to do with Swift, or Thumbs. The ChartsDemo has a menu on
each screen, allowing you to "Save to camera roll". Which uses Charts API.

On Thu, May 28, 2015 at 9:32 AM, Xuan notifications@github.com wrote:

I am sorry if I makes you feel that way. I did take a look at it, but I am
not familiar with swift, and I don't see there is a API can create a thumb.
Are you implying that I could send any size and the chart could fit
accordingly? e.g. if I give 50x50 and 200x200 for two radar charts, the
50x50 size can still display the radar correctly and same content as the
200x200 one?

I do see there is a API getChartImage, is this what you are refering for
creating chart image?


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

@liuxuan30
Copy link
Member Author

alright, thanks, I will try it

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