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

增加了 Level 层级图 和 ChineseMap图 #137

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

alsotang
Copy link

No description provided.

- [Level 层级图](https://github.com/TBEDP/datavjs/tree/master/example/level)
![Level](https://raw.github.com/hlqf/datavjs/master/doc/assets/level.jpg)
- [ChineseMap图](https://github.com/TBEDP/datavjs/tree/master/example/chinamap)
![Level](https://raw.github.com/hlqf/datavjs/master/doc/assets/chinesemap.jpg)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里不是 [Level]


//You could use your own images for marking the baseline on the top-right of the chart now!
var tester = new LevelChart($('.level:eq(4)'));
tester.render([ 10, 35, 88, 49, 10 ], { globalBase : [ 0, 0, 5, 0, 0], tipImg : 'http://img03.taobaocdn.com/tps/i3/T1iTjQXXXbXXc_eAHa-19-18.png' });
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 tipImg 是特意加上的吗??是个新浪微博的图标。

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为增强自定义,他们需要的baseline可能不称之为"全网基数",所以可以自定义图片. 在shu上面找了没找到什么合适的图片,于是放了微博的那个. 不太美观的话,一会儿ps一个替换掉

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不填写tipImg属性的时候,默认就是全网参数了的.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

嗯嗯,就留着吧。

@alsotang
Copy link
Author

+1

@JacksonTian
Copy link
Contributor

少年们 rebase下,commits很脏的。

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

Successfully merging this pull request may close these issues.

3 participants