Convert number chart to aggregate chart allowing date aggregates (#15294)
- Convert number chart to aggregate chart - Allow date aggregates on all charts - Only allow `EARLIEST` and `LATEST` on Aggregate chart and Gauge chart - Various design fixes https://github.com/user-attachments/assets/b5a2239d-7b11-48b5-93e6-98ceffae5cab
This commit is contained in:
+8
-8
@@ -94,7 +94,7 @@ export const getPageLayoutWidgetDataSeeds = (
|
||||
gridPosition: { row: 0, column: 0, rowSpan: 2, columnSpan: 3 },
|
||||
configuration: isDefined(opportunityAmountFieldId)
|
||||
? {
|
||||
graphType: 'NUMBER',
|
||||
graphType: 'AGGREGATE',
|
||||
aggregateFieldMetadataId: opportunityAmountFieldId,
|
||||
aggregateOperation: AggregateOperations.SUM,
|
||||
displayDataLabel: true,
|
||||
@@ -116,7 +116,7 @@ export const getPageLayoutWidgetDataSeeds = (
|
||||
gridPosition: { row: 0, column: 3, rowSpan: 4, columnSpan: 4 },
|
||||
configuration: isDefined(rocketIdFieldId)
|
||||
? {
|
||||
graphType: 'NUMBER',
|
||||
graphType: 'AGGREGATE',
|
||||
aggregateFieldMetadataId: rocketIdFieldId,
|
||||
aggregateOperation: AggregateOperations.COUNT,
|
||||
displayDataLabel: true,
|
||||
@@ -222,7 +222,7 @@ export const getPageLayoutWidgetDataSeeds = (
|
||||
gridPosition: { row: 0, column: 5, rowSpan: 5, columnSpan: 7 },
|
||||
configuration: isDefined(opportunityIdFieldId)
|
||||
? {
|
||||
graphType: 'NUMBER',
|
||||
graphType: 'AGGREGATE',
|
||||
aggregateFieldMetadataId: opportunityIdFieldId,
|
||||
aggregateOperation: AggregateOperations.COUNT,
|
||||
displayDataLabel: true,
|
||||
@@ -246,7 +246,7 @@ export const getPageLayoutWidgetDataSeeds = (
|
||||
gridPosition: { row: 0, column: 0, rowSpan: 2, columnSpan: 3 },
|
||||
configuration: isDefined(companyIdFieldId)
|
||||
? {
|
||||
graphType: 'NUMBER',
|
||||
graphType: 'AGGREGATE',
|
||||
aggregateFieldMetadataId: companyIdFieldId,
|
||||
aggregateOperation: AggregateOperations.COUNT,
|
||||
displayDataLabel: true,
|
||||
@@ -326,7 +326,7 @@ export const getPageLayoutWidgetDataSeeds = (
|
||||
gridPosition: { row: 0, column: 0, rowSpan: 4, columnSpan: 4 },
|
||||
configuration: isDefined(companyArrFieldId)
|
||||
? {
|
||||
graphType: 'NUMBER',
|
||||
graphType: 'AGGREGATE',
|
||||
aggregateFieldMetadataId: companyArrFieldId,
|
||||
aggregateOperation: AggregateOperations.SUM,
|
||||
displayDataLabel: true,
|
||||
@@ -395,7 +395,7 @@ export const getPageLayoutWidgetDataSeeds = (
|
||||
gridPosition: { row: 2, column: 0, rowSpan: 4, columnSpan: 3 },
|
||||
configuration: isDefined(companyLinkedinLinkFieldId)
|
||||
? {
|
||||
graphType: 'NUMBER',
|
||||
graphType: 'AGGREGATE',
|
||||
aggregateFieldMetadataId: companyLinkedinLinkFieldId,
|
||||
aggregateOperation: AggregateOperations.COUNT,
|
||||
displayDataLabel: true,
|
||||
@@ -441,7 +441,7 @@ export const getPageLayoutWidgetDataSeeds = (
|
||||
gridPosition: { row: 0, column: 0, rowSpan: 5, columnSpan: 6 },
|
||||
configuration: isDefined(personIdFieldId)
|
||||
? {
|
||||
graphType: 'NUMBER',
|
||||
graphType: 'AGGREGATE',
|
||||
aggregateFieldMetadataId: personIdFieldId,
|
||||
aggregateOperation: AggregateOperations.COUNT,
|
||||
displayDataLabel: true,
|
||||
@@ -513,7 +513,7 @@ export const getPageLayoutWidgetDataSeeds = (
|
||||
gridPosition: { row: 0, column: 6, rowSpan: 6, columnSpan: 6 },
|
||||
configuration: isDefined(taskIdFieldId)
|
||||
? {
|
||||
graphType: 'NUMBER',
|
||||
graphType: 'AGGREGATE',
|
||||
aggregateFieldMetadataId: taskIdFieldId,
|
||||
aggregateOperation: AggregateOperations.COUNT,
|
||||
displayDataLabel: true,
|
||||
|
||||
Reference in New Issue
Block a user