forked from predixdesignsystem/px-vis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpx-vis.html
146 lines (120 loc) · 4.2 KB
/
px-vis.html
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!-- behaviors -->
<link rel="import" href="px-vis-behavior-chart.html">
<link rel="import" href="px-vis-behavior-common.html">
<link rel="import" href="px-vis-behavior-d3.html">
<link rel="import" href="px-vis-behavior-datetime.html">
<link rel="import" href="px-vis-behavior-register.html">
<link rel="import" href="../px-colors-design/colors.html" />
<!-- components -->
<link rel="import" href="px-vis-axis-brush.html">
<link rel="import" href="px-vis-axis-drag.html">
<link rel="import" href="px-vis-axis.html">
<link rel="import" href="px-vis-brush.html">
<link rel="import" href="px-vis-canvas.html">
<link rel="import" href="px-vis-chart-navigator.html">
<link rel="import" href="px-vis-clip-path.html">
<link rel="import" href="px-vis-clip-path-complex-area.html">
<link rel="import" href="px-vis-cursor.html">
<link rel="import" href="px-vis-data-converter.html">
<link rel="import" href="px-vis-event.html">
<link rel="import" href="px-vis-gridlines.html">
<link rel="import" href="px-vis-interaction-space.html">
<link rel="import" href="px-vis-line-canvas.html">
<link rel="import" href="px-vis-line-svg.html">
<link rel="import" href="px-vis-multi-axis.html">
<link rel="import" href="px-vis-multi-scale.html">
<link rel="import" href="px-vis-pie.html">
<link rel="import" href="px-vis-radar-grid.html">
<link rel="import" href="px-vis-radial-gridlines.html">
<link rel="import" href="px-vis-radial-scale.html">
<link rel="import" href="px-vis-register-datetime.html">
<link rel="import" href="px-vis-register-item-pie.html">
<link rel="import" href="px-vis-register-item.html">
<link rel="import" href="px-vis-register.html">
<link rel="import" href="px-vis-scale.html">
<link rel="import" href="px-vis-scatter.html">
<link rel="import" href="px-vis-svg-canvas.html">
<link rel="import" href="px-vis-svg.html">
<link rel="import" href="px-vis-threshold.html">
<link rel="import" href="px-vis-tooltip.html">
<link rel="import" href="px-vis-zoom.html">
<!--
Set of base components to provide the ability to create charts. These components come "wrapped" into charts in px-vis-[[chartType]] repos. These base components can be used to create custom chart types and/or mixed with standard d3 methods.
At a very least, all charts need an svg component, an interpretor component, such as scale, and a drawing component.
All components are built to support the Precipitation Pattern. Declarative bindings also work.
##### Usage
<px-vis-svg
width="[[width]]"
height="[[height]]"
margin="[[margin]]"
svg="{{svg}}">
</px-vis-svg>
<px-vis-scale
x-scale="time"
y-scale="linear"
width="[[width]]"
height="[[height]]"
margin="[[margin]]"
chart-data="[[chartData]]"
x="{{x}}"
y="{{y}}"
current-domain-x="{{currentDomainX}}"
current-domain-y="{{currentDomainY}}">
</px-vis-scale>
<px-vis-line-svg
svg="[[svg]]"
series-id="[[seriesName]]"
series-number="[[seriesNumber]]"
chart-data="[[chartData]]"
x="[[x]]"
y="[[y]]"
current-domain-x="[[currentDomainX]]"
current-domain-y="[[currentDomainY]]"
muted-series="[[mutedSeries]]">
</px-vis-line-svg>
#### px-vis components are categorized as such:
##### SVG / drawing space:
- px-vis-svg
##### Interpretors:
- px-vis-scale
##### Drawing Objects:
- px-vis-line-svg
- px-vis-scatter
- px-vis-axis
- px-vis-grindlines
- px-vis-events
- px-vis-threshold
- px-vis-cursor
- px-vis-register
- px-vis-tooltip
##### Interaction Components:
- px-vis-brush
- px-vis-chart-navigator
- px-vis-interaction-space
- px-vis-zoom
##### Data:
- px-vis-data-converter
@element px-vis
@blurb Set of base components to provide the ability to create charts.
@homepage index.html
@demo demo.html
-->
<dom-module id="px-vis">
<template>
</template>
</dom-module>
<script>
Polymer({
is: 'px-vis',
behaviors: [
],
/**
* Properties block, expose attribute values to the DOM via 'reflect'
*
* @property properties
* @type Object
*/
properties: {
} //properties
});
</script>