We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
中级任务
我们在做 G2 SSR 的时候,会只用一个 json 配置描述图表,然后这个 json 会由用户输入并存储到数据库中。
但是 G2 Spec 有一些配置时使用回调函数实现,没有办法序列,所以需要有一个方案:用一个规范的字符串去描述简单函数。
{ encode: { x: (d) => d.type } }
改成使用(仅做示意,不干扰方案设计):
{ "encode": { "x": "{d.type}" } }
原则:
可以参考 echarts、highcharts 等如何处理。
The text was updated successfully, but these errors were encountered:
认领
Sorry, something went wrong.
No branches or pull requests
AntV Open Source Contribution Plan(可选)
Issue 类型
中级任务
任务介绍
我们在做 G2 SSR 的时候,会只用一个 json 配置描述图表,然后这个 json 会由用户输入并存储到数据库中。
但是 G2 Spec 有一些配置时使用回调函数实现,没有办法序列,所以需要有一个方案:用一个规范的字符串去描述简单函数。
改成使用(仅做示意,不干扰方案设计):
原则:
参考说明
可以参考 echarts、highcharts 等如何处理。
The text was updated successfully, but these errors were encountered: