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

计算柱形图的宽度和设定间隙 #2622

Closed
chenshuangsmart opened this issue Jul 20, 2017 · 4 comments
Closed

计算柱形图的宽度和设定间隙 #2622

chenshuangsmart opened this issue Jul 20, 2017 · 4 comments

Comments

@chenshuangsmart
Copy link

使用CombinedChartView画柱形图,通过barWidth设定柱形图的宽度,但是如何转化成像素,并且设定柱形图之间的间隙,谢谢。

@aelam
Copy link
Contributor

aelam commented Jul 20, 2017 via email

@liuxuan30
Copy link
Member

It's in ChartTransformer to convert.

@chenshuangsmart
Copy link
Author

can you explain more detail?

@liuxuan30
Copy link
Member

Just take a look at the class and open func groupBars(fromX: Double, groupSpace: Double, barSpace: Double)

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

3 participants