Skip to content

Commit 8021939

Browse files
committed
copy changes
1 parent 77eeee1 commit 8021939

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

plugins/ui/docs/components/table.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,12 @@ t = ui.table(
192192

193193
### Formatting databars
194194

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.
196196

197197
The `column` prop specifies which table column should display the databar. This is the only required property.
198198

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` .
200201
201202
```python
202203
from deephaven import time_table
@@ -246,9 +247,9 @@ t = ui.table(
246247
The `axis` prop controls how the zero point is positioned within the databar.
247248

248249
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)
252253

253254
```python
254255
from deephaven import time_table
@@ -273,7 +274,8 @@ t = ui.table(
273274
The `direction` prop controls which direction the databar grows from its zero point.
274275

275276
Options:
276-
`"LTR"`: (left to right, default) `"RTL"`: (right to left).
277+
- `"LTR"`: (left to right, default)
278+
- `"RTL"`: (right to left)
277279

278280
```python
279281
from deephaven import time_table
@@ -295,9 +297,9 @@ t = ui.table(
295297
The `value_placement` prop controls how cell values are displayed relative to the databar.
296298

297299
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
301+
- `"overlap"`: on top of the databar
302+
- `"hide"`: not displayed
301303

302304
```python
303305
from deephaven import time_table

0 commit comments

Comments
 (0)