-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## What's Changed * feat: scatter plot labeling options by @dv-raghad-jamalaldeen in #183 ## New Contributors * @dv-raghad-jamalaldeen made their first contribution in #183 **Full Changelog**: v8.0.1...8.1.0
- Loading branch information
Showing
7 changed files
with
85 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "visyn_core", | ||
"description": "Core repository for datavisyn applications.", | ||
"version": "8.0.1", | ||
"version": "8.1.0", | ||
"author": { | ||
"name": "datavisyn GmbH", | ||
"email": "[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { Input, SegmentedControl } from '@mantine/core'; | ||
import * as React from 'react'; | ||
import { ELabelingOptions } from './interfaces'; | ||
|
||
interface LabelingOptionsProps { | ||
callback: (s: ELabelingOptions) => void; | ||
currentSelected: ELabelingOptions | null; | ||
} | ||
|
||
export function LabelingOptions({ callback, currentSelected }: LabelingOptionsProps) { | ||
return ( | ||
<Input.Wrapper label="Show labels"> | ||
<SegmentedControl | ||
fullWidth | ||
size="xs" | ||
value={currentSelected} | ||
onChange={callback} | ||
data={[ | ||
{ label: ELabelingOptions.NEVER, value: ELabelingOptions.NEVER }, | ||
{ label: ELabelingOptions.ALWAYS, value: ELabelingOptions.ALWAYS }, | ||
{ label: ELabelingOptions.SELECTED, value: ELabelingOptions.SELECTED }, | ||
]} | ||
/> | ||
</Input.Wrapper> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters