Comments (16)
g0v/twly-voter-guide#20
在立委投票指南也遇到此問題,數值太小的部份文字會重疊
from councilor-voter-guide.
套用highcharts效果,如果可以,我希望能全部使用
from councilor-voter-guide.
from councilor-voter-guide.
"PC hover, Mobile tap都有顯示百分比" 這個idea不錯
Google chart也可以做到 而且好像很方便
from councilor-voter-guide.
其實我會提這Issue重點除了圖表重疊之外,還有相對極小的資料顯示問題
因為Pie Chart重點是比例比較,如果說兩筆相對(最大資料)極小的資料要做比較,highcharts有功能可以將大資料隱藏
雖然不知用戶會不會發現這功能,但我希望用戶第一眼是看到比例,而不是擠在一起的數字
from councilor-voter-guide.
如果說讓滑鼠移到區塊上才讓數字顯示呢?
from councilor-voter-guide.
我試了加上把滑鼠移到區塊上才讓數字顯示
這樣的效果好嗎??
from councilor-voter-guide.
如果是用在最小項之百分比約1%的或許還有用
但是在收入支出的圖表常發生極大和極小值的差距,滑鼠要摸到好像有點困難
再者,手機用戶想要做到mouseover效果,需要用按壓(Chrome for Android的處理方式),同樣如前,極小值真的摸得到嗎
如果能解決以上兩點,才算是解決圖表文字重疊
from councilor-voter-guide.
那這個解法呢? 基本上是多加上一條線
http://jsfiddle.net/thudfactor/HdwTH/
from councilor-voter-guide.
如果將字體拉大可能就接近完整解了,只是不知需要多少功夫(在圖不會被無限延展的狀況下)
因為d3畫出來的圖是固定大小的,小螢幕容易出界
from councilor-voter-guide.
其實不太熟d3 js這些東西 不過我可先試試看 :D
from councilor-voter-guide.
http://jsfiddle.net/thudfactor/HdwTH/
這解法的確較好
蠻希望圖中就包含完整資訊可供後續討論
from councilor-voter-guide.
from councilor-voter-guide.
我覺得非常好,完全是夢中的樣子XD
from councilor-voter-guide.
不過我在網頁上沒有看到效果耶?!哪裡出錯了嗎?還是還沒發佈code上去server?
from councilor-voter-guide.
deployed !
http://councils.g0v.tw/suggestions/
from councilor-voter-guide.
Related Issues (20)
- og:title 少了一個 { HOT 2
- 找提案 功能的選區配置錯誤 HOT 3
- popup 訊息也許可以避免重複出現 HOT 1
- 中選會鄉鎮市區問題 HOT 1
- 候選人可內嵌影片
- 候選人可儲存草稿/發佈
- 新竹縣議員配合款網頁連結無效 HOT 1
- [新版]許願池 功能的 mouse:hover 在手機版會失去意義
- [新版]許願池針對個別候選人的許願尚未整合到候選人資訊中
- 搜尋功能在 Firefox 上無法使用
- 搜尋建議出現族語,但內頁沒有族語,使搜尋導向到首頁 HOT 1
- 柯路加議員有兩種寫法 HOT 2
- 選區議員列表「了解更多」頁:現任議員提案除「網友下標」外,應可連至原提案 HOT 1
- 無障礙網頁
- CSS配色建議
- 左上icon於寬板時應可留邊距 HOT 2
- 擬參選人下一頁後filter失效
- 戴錫欽多一筆2014的政治獻金資料
- 配合款得標廠商
- 增加各次選舉的投票規則
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from councilor-voter-guide.