зеркало из https://github.com/microsoft/SandDance.git
Extend column types dialog (#615)
* add Type and HasColorData to column types dialog * version patch * handle dates when color parsing hex codes * check color for Date type
This commit is contained in:
Родитель
392b42fbb5
Коммит
3948c3ef72
|
@ -161,7 +161,9 @@ function _ColumnTypeChanger(_props: Props) {
|
|||
<thead>
|
||||
<tr>
|
||||
<th>{strings.labelColumnName}</th>
|
||||
<th>{strings.labelColumnType}</th>
|
||||
<th>{strings.labelColumnDistinct}</th>
|
||||
<th>{strings.labelColumnHasColorData}</th>
|
||||
<th>{strings.labelColumnIsColorData}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -169,7 +171,9 @@ function _ColumnTypeChanger(_props: Props) {
|
|||
{state.categoricalColumns.map((c, i) => (
|
||||
<tr key={i}>
|
||||
<td>{c.name}</td>
|
||||
<td>{c.type}</td>
|
||||
<td>{c.stats.distinctValueCount}</td>
|
||||
<td>{(!!c.stats.hasColorData).toString()}</td>
|
||||
<td>{(!!c.isColorData).toString()}</td>
|
||||
</tr>
|
||||
))}
|
||||
|
|
|
@ -81,7 +81,9 @@ export const strings = {
|
|||
labelChartSettings: 'Chart settings',
|
||||
labelEditColumn: 'Edit',
|
||||
labelColumnName: 'Column name',
|
||||
labelColumnType: 'Column type',
|
||||
labelColumnDistinct: 'Distinct values',
|
||||
labelColumnHasColorData: 'Has color data',
|
||||
labelColumnIsColorData: 'Is color data',
|
||||
labelColumnQuantitativeMin: 'Min',
|
||||
labelColumnQuantitativeMax: 'Max',
|
||||
|
|
Загрузка…
Ссылка в новой задаче