You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,20 @@
1
+
# 1.32.0 (06/09/2016)
2
+
3
+
## Features
4
+
5
+
- Number Widget: Extended auto-sizing of numbers to up to 4 numbers per widget.
6
+
7
+
- Header Widget: New Widget with basic functionality for displaying simple headers at the top of Dashboards.
8
+
9
+
- Table Widget: Added click event handler: can provide a JavaScript function that gets executed when a table cell is clicked.
10
+
11
+
- Grid Layout Adjustments: Added new Page layout properties for adding/subtracting height or width from the dimensions of the page when calculating grid dimensions. This is useful for allowing a header to have a fixed
12
+
height, while sizing the remaining widgets to fit the browser window.
13
+
14
+
## Bug Fixes
15
+
16
+
- Number Widget: fixed flicker when a Data Source refreshes and content is redrawn.
Copy file name to clipboardExpand all lines: cyclotron-site/app/partials/help/layout.jade
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -105,3 +105,15 @@ p Absolute sizing can be combined with the Grid Layout by defining only one prop
105
105
| property and the
106
106
em gridWidth
107
107
| property together will create a fixed-height but fluid-width Widget.
108
+
109
+
h5 Combining Absolutely-Sized Widgets with Grid Layout
110
+
111
+
p It's possible to mix Widgets with absolute sizes in a grid layout, by using the
112
+
em gridWidthAdjustment
113
+
| and/or
114
+
em gridHeightAdjustment
115
+
| properties. These can be set to negative values to indicate the number of pixels to remove from the page height or width before calculating the grid sizes.
116
+
117
+
p For example, to add a 150px header onto a dashboard with a 10px gutter, the
118
+
em gridHeightAdjustment
119
+
| would be set to -160. Then the remaining Widgets would be sized-to-fit as if the page height was actually 160 pixels shorter.
description:'Specifies an adjustment (in pixels) to the width of the page when calculating the grid layout. If the value is positive, the page width will have the adjustment added to it (making each column wider), whereas if it is negative, the page width will be reduced (making each column skinnier).'
210
+
type:'integer'
211
+
default:0
212
+
required:false
213
+
defaultHidden:true
214
+
order:2
215
+
gridHeightAdjustment:
216
+
label:'Grid Page Height Adjustment'
217
+
description:'Specifies an adjustment (in pixels) to the height of the page when calculating the grid layout. If the value is positive, the page height will have the adjustment added to it (making each row taller), whereas if it is negative, the page height will be reduced (making each row shorter). This is commonly used with a fixed-height Header widget.'
218
+
type:'integer'
219
+
default:0
220
+
required:false
221
+
order:3
197
222
gutter:
198
223
label:'Gutter'
199
224
description:'Controls the space (in pixels) between widgets positioned in the grid. The default value is 10.'
200
225
type:'integer'
201
226
default:10
202
227
required:false
203
228
defaultHidden:true
204
-
order:2
229
+
order:5
205
230
borderWidth:
206
231
label:'Border Width'
207
232
description:'Specifies the pixel width of the border around each widget. Can be set to 0 to remove the border. If omitted, the theme default will be used.'
208
233
type:'integer'
209
234
default:null
210
235
required:false
211
236
defaultHidden:true
212
-
order:3
237
+
order:6
213
238
margin:
214
239
label:'Margin'
215
240
description:'Controls the empty margin width (in pixels) around the outer edge of the Dashboard. Can be set to 0 to remove the margin.'
216
241
type:'integer'
217
242
default:10
218
243
required:false
219
244
defaultHidden:true
220
-
order:4
245
+
order:7
221
246
scrolling:
222
247
label:'Scrolling Enabled'
223
248
description:'Enables vertical scrolling of the page to display content longer than the current browser size.'
description:'Contains properties for displaying a title in the header.'
2119
+
type:'propertyset'
2120
+
order:10
2121
+
properties:
2122
+
showTitle:
2123
+
label:'Show Title'
2124
+
description:'Determines whether a title will be shown. If the Widget has a Title, it will be shown, otherwise it defaults to the Dashboard\'s Display Name or Name.'
2125
+
type:'boolean'
2126
+
default:true
2127
+
required:false
2128
+
inlineJs:true
2129
+
order:1
2130
+
showPageName:
2131
+
label:'Show Page Name'
2132
+
description:'Determines whether the current page name will be shown as part of the title.'
2133
+
type:'boolean'
2134
+
default:true
2135
+
required:false
2136
+
inlineJs:true
2137
+
order:2
2138
+
pageNameSeparator:
2139
+
label:'Page Name Separator'
2140
+
description:'Configures a string to use to separate the Dashboard name from the Page name. Defaults to a space.'
2141
+
type:'string'
2142
+
required:false
2143
+
default:''
2144
+
inlineJs:true
2145
+
defaultHidden:true
2146
+
order:3
2147
+
titleSize:
2148
+
label:'Title Size'
2149
+
description:'Sets the font size for the header title (if displayed). Any valid CSS height is allowed.'
2150
+
type:'string'
2151
+
required:false
2152
+
inlineJs:true
2153
+
order:5
2154
+
logoUrl:
2155
+
label:'Logo URL'
2156
+
description:'Contains a URL to a dashboard logo to display before the title. Data URLs can be used.'
2157
+
type:'string'
2158
+
required:false
2159
+
inlineJs:true
2160
+
order:10
2161
+
logoSize:
2162
+
label:'Logo Size'
2163
+
description:'Sets the height for the header logo (if displayed). The logo will be scaled without changing the aspect ratio. Any valid CSS height is allowed.'
2164
+
type:'string'
2165
+
required:false
2166
+
inlineJs:true
2167
+
order:11
2168
+
link:
2169
+
label:'Link'
2170
+
description:'If set, makes the Logo and Title a link to this URL.'
2171
+
type:'string'
2172
+
required:false
2173
+
inlineJs:true
2174
+
order:20
2175
+
customHtml:
2176
+
label:'HTML Content'
2177
+
description:'Provides additional HTML content to be displayed in the header. This can be used to customize the header display.'
description:'If true, up to 4 numbers will be automatically sized-to-fit in the Widget. If false, or if there are more than four numbers, all numbers will be listed sequentially.'
2529
+
type:'boolean'
2530
+
required:false
2531
+
default:true
2532
+
order:13
2430
2533
link:
2431
2534
label:'Link'
2432
2535
description:'Optional, specifies a URL that will be displayed at the bottom of the widget as a link.'
2433
2536
placeholder:'URL'
2434
2537
type:'url'
2435
2538
required:false
2436
-
order:13
2539
+
order:14
2437
2540
filters:
2438
2541
label:'Filters'
2439
2542
description:"Optional, but if provided, specifies name-value pairs used to filter the data source's result set. This has no effect if the dataSource property is not set.\nOnly the first row of the data source is used to get data, so this property can be used to narrow down on the correct row"
description:'This event occurs when the user clicks on a cell in this column. If this property is set with a JavaScript function, the function will be called as an event handler.'
2739
+
type:'editor'
2740
+
editorMode:'javascript'
2741
+
required:false
2742
+
defaultHidden:true
2633
2743
link:
2634
2744
label:'Link'
2635
2745
description:'If provided, the cell text will be made into a link rather than plain text.'
0 commit comments