datahub/datahub-web-react/src/graphql/analytics.graphql
Gabe Lyons ce90310dd0
feat(advanced-search): Complete Advanced Search: backend changes & tying UI together (#6068)
* stashing progress

* adding remove option

* more progress

* editing

* further in

* additional rendering improvements

* stashing adv search progress

* stashing more progress

* propagating not filters back to UI

* more frontend progress

* more filters working

* getting ready for data platform selector

* add platform select functionality

* locking out switching btwn advanced and standard filters

* final polish

* remove unneeded code

* added unit and cypress tests

* resolutions after merge

* adding documentation

* cleaning up & refactoring

* removing console.log

* minor ui fix & removing unneeded code

* fixing lineage search

* fixing lints

* fix display of degree

* fixing test

* fixing lint

* responding to comments

* fixing tests

* fix smoke tests

* fixing cypress

* fixing cypress test

* responding to comments
2022-10-04 10:20:04 -07:00

76 lines
1.4 KiB
GraphQL

query isAnalyticsEnabled {
isAnalyticsEnabled
}
query getAnalyticsCharts {
getAnalyticsCharts {
groupId
title
charts {
...analyticsChart
}
}
}
query getMetadataAnalyticsCharts($input: MetadataAnalyticsInput!) {
getMetadataAnalyticsCharts(input: $input) {
groupId
title
charts {
...analyticsChart
}
}
}
fragment analyticsChart on AnalyticsChart {
... on TimeSeriesChart {
title
lines {
name
data {
x
y
}
}
dateRange {
start
end
}
interval
}
... on BarChart {
title
bars {
name
segments {
label
value
}
}
}
... on TableChart {
title
columns
rows {
values
cells {
value
linkParams {
searchParams {
types
query
filters {
field
values
}
}
entityProfileParams {
urn
type
}
}
}
}
}
}