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: plugins/ui/docs/components/table.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -192,11 +192,12 @@ t = ui.table(
192
192
193
193
### Formatting databars
194
194
195
-
Table databars provide visual representation of numeric data directly within table cells, making it easy to compare values at a glance. Databars appear as horizontal bars behind or alongside cell values.
195
+
Table databars provide a visual representation of numeric data directly within table cells, making it easy to compare values at a glance. Databars appear as horizontal bars behind or alongside cell values.
196
196
197
197
The `column` prop specifies which table column should display the databar. This is the only required property.
198
198
199
-
Warning: This API is likely to change in the near future to be part of ui.TableFormat .
199
+
> [!WARNING]
200
+
> This API is likely to change in the near future to be part of `ui.TableFormat` .
200
201
201
202
```python
202
203
from deephaven import time_table
@@ -246,9 +247,9 @@ t = ui.table(
246
247
The `axis` prop controls how the zero point is positioned within the databar.
247
248
248
249
Options:
249
-
`"proportional"` (default): relative to the min and max of the values
250
-
`"middle"`: always centered, regardless of values in column
251
-
`"directional"`: left-most or right-most, dependent on `direction` prop. Sign of value is ignored, the databar will show the magnitude of the value (ie. -7 and 7 are the same)
250
+
-`"proportional"` (default): relative to the min and max of the values
251
+
-`"middle"`: always centered, regardless of values in column
252
+
-`"directional"`: left-most or right-most, dependent on `direction` prop. The sign of value is ignored, and the databar will show the magnitude of the value (i.e. -7 and 7 are the same)
252
253
253
254
```python
254
255
from deephaven import time_table
@@ -273,7 +274,8 @@ t = ui.table(
273
274
The `direction` prop controls which direction the databar grows from its zero point.
274
275
275
276
Options:
276
-
`"LTR"`: (left to right, default) `"RTL"`: (right to left).
277
+
-`"LTR"`: (left to right, default)
278
+
-`"RTL"`: (right to left)
277
279
278
280
```python
279
281
from deephaven import time_table
@@ -295,9 +297,9 @@ t = ui.table(
295
297
The `value_placement` prop controls how cell values are displayed relative to the databar.
296
298
297
299
Options:
298
-
`"beside"` (default): to the right of the databar
299
-
`"overlap"`: on top of the databar
300
-
`"hide"`: not displayed
300
+
-`"beside"` (default): to the right of the databar
0 commit comments