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

[data-table] representationsの指定方法を変更する #85

Open
otolab opened this issue Jun 27, 2017 · 0 comments
Open

[data-table] representationsの指定方法を変更する #85

otolab opened this issue Jun 27, 2017 · 0 comments

Comments

@otolab
Copy link
Collaborator

otolab commented Jun 27, 2017

representationsはObjectとして縛っているが、dimension, reduce, labels, columnsなどと同じようにjsとして受け取れたほうが楽っぽい。

<data-table dimension="d.api_key"
  columns="api_key,uu,delivered_uu,goal_uu,delivered_goal_cnt,delivered_revenue,liftup_cnt,liftup_revenue"
  labels="プロジェクト,UU数,配信UU数,CV数,配信経由CV数,配信経由購入額,リフトアップCV数,リフトアップ額"
  representations="projectLink,number,number,number,number,monery,number,money,money"
></data-table>

というようなユースケース。nullや''について対応すれば何とかなりそう?

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

1 participant