-
Notifications
You must be signed in to change notification settings - Fork 318
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: hlqf <[email protected]>
Signed-off-by: hlqf <[email protected]>
- [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) |
There was a problem hiding this comment.
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' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个 tipImg 是特意加上的吗??是个新浪微博的图标。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为增强自定义,他们需要的baseline可能不称之为"全网基数",所以可以自定义图片. 在shu上面找了没找到什么合适的图片,于是放了微博的那个. 不太美观的话,一会儿ps一个替换掉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不填写tipImg属性的时候,默认就是全网参数了的.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
嗯嗯,就留着吧。
+1 |
少年们 rebase下,commits很脏的。 |
No description provided.