-
Notifications
You must be signed in to change notification settings - Fork 141
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
feat(ava/advisor): add some meta info, includes 5 chart ckb, 2 purpos… #786
base: dev-refactor-pipeline2
Are you sure you want to change the base?
Conversation
…e, 1 level of measure
@@ -1,6 +1,25 @@ | |||
import type { PureChartKnowledgeBase } from './types'; | |||
|
|||
export const base: PureChartKnowledgeBase = { | |||
indicator_chart: { |
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.
以前给指标卡预留过一个命名 kpi_panel ,可以用这个名字
@@ -1,6 +1,25 @@ | |||
import type { PureChartKnowledgeBase } from './types'; | |||
|
|||
export const base: PureChartKnowledgeBase = { | |||
indicator_chart: { | |||
id: 'indicator_chart', | |||
name: 'Value Chart', |
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.
name 就叫 KPI Panel ?
name: 'Value Chart', | ||
alias: ['Indicator'], | ||
family: ['Indicators'], | ||
def: 'A chart show indicator number, can', |
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.
这句话好像不完整?
shape: ['Other'], | ||
encodePres: {}, | ||
dataPres: [ | ||
{ minQty: 0, maxQty: 2, fieldConditions: ['Time', 'Ordinal', 'Nominal'] }, |
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.
不考虑在图表内进行数据聚合逻辑的话,指标卡好像不应该有维度?
ava 这里应该不考虑维度,有的话好像也不好限制 maxQty
{ minQty: 0, maxQty: 2, fieldConditions: ['Time', 'Ordinal', 'Nominal'] }, | ||
{ minQty: 1, maxQty: '*', fieldConditions: ['Interval'] }, | ||
], | ||
channel: [], |
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.
channel 感觉可以加一个 'Text' ,用文本编码的数据
shape: ['Bars'], | ||
dataPres: [{ minQty: 1, maxQty: 2, fieldConditions: ['Interval'] }], | ||
channel: ['Length'], | ||
recRate: 'Not Recommended', |
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.
为啥这几个都是 'Not Recommended' 呀
shape: ['Bars'], | ||
dataPres: [ | ||
{ minQty: 1, maxQty: 2, fieldConditions: ['Interval'] }, | ||
{ minQty: 1, maxQty: 1, fieldConditions: ['Geo'] }, |
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.
地图类先不加好了,因为 fieldConditions 这里内置的还没有识别 Geo 类型的,所以这里加上了实际也推不出来,会有点问题
…e, 1 level of measure
PR includes