-
Notifications
You must be signed in to change notification settings - Fork 1
/
format-specifiers.json
103 lines (103 loc) · 2.85 KB
/
format-specifiers.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"export": false,
"strings": {
"legendTitle": "Highest Grossing Movie Franchises"
},
"descriptions": {
"legend": {
"type": "DataLegend",
"name": "legend",
"targetRef": "chart",
"valueFormatString": "{0} Billion",
"valueFormatSpecifiers": [
{
"type": "NumberFormatSpecifier",
"style": "currency",
"currency": "USD",
"currencyDisplay": "symbol",
"minimumFractionDigits": 2,
"maximumFractionDigits": 2
}
]
},
"content": {
"type": "DataChart",
"name": "chart",
"axes": [
{
"type": "CategoryYAxis",
"name": "yAxis",
"label": "Franchise",
"useEnhancedIntervalManagement": true,
"enhancedIntervalPreferMoreCategoryLabels": true,
"dataSourceRef": "HighestGrossingMovies",
"isInverted": true,
"gap": 0.5,
"overlap": -0.1
},
{
"type": "NumericXAxis",
"name": "xAxis",
"title": "Billions of U.S. Dollars",
"labelFormat": "{0}B",
"abbreviateLargeNumbers": false,
"labelFormatSpecifiers": [
{
"type": "NumberFormatSpecifier",
"style": "currency",
"currency": "USD",
"currencyDisplay": "symbol",
"minimumFractionDigits": 0
}
]
}
],
"series": [
{
"type": "BarSeries",
"name": "BarSeries1",
"xAxisRef": "xAxis",
"yAxisRef": "yAxis",
"title": "Total Revenue of Franchise",
"valueMemberPath": "TotalRevenue",
"dataSourceRef": "HighestGrossingMovies",
"showDefaultTooltip": true
},
{
"type": "BarSeries",
"name": "BarSeries2",
"xAxisRef": "xAxis",
"yAxisRef": "yAxis",
"title": "Highest Grossing Movie in Series",
"valueMemberPath": "HighestGrossing",
"dataSourceRef": "HighestGrossingMovies",
"showDefaultTooltip": true
},
{
"type": "DataToolTipLayer",
"name": "Tooltips",
"valueFormatString": "{0} Billion",
"valueFormatSpecifiers": [
{
"type": "NumberFormatSpecifier",
"style": "currency",
"currency": "USD",
"currencyDisplay": "symbol",
"minimumFractionDigits": 2,
"maximumFractionDigits": 2
}
]
}
]
}
},
"modules": [
"charts/DataLegendModule",
"charts/DataChartCoreModule",
"charts/DataChartCategoryCoreModule",
"charts/DataChartCategoryModule",
"charts/DataChartInteractivityModule",
"charts/DataChartVerticalCategoryModule",
"charts/DataChartAnnotationModule"
]
}