-
Notifications
You must be signed in to change notification settings - Fork 841
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
16 additions
and
35 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,15 @@ | ||
import { AxisUtils } from 'react-vis'; | ||
|
||
const ORIENTATION = AxisUtils.ORIENTATION; | ||
export const ORIENTATION = AxisUtils.ORIENTATION; | ||
|
||
const TITLE_POSITION = { | ||
export const TITLE_POSITION = { | ||
MIDDLE: 'middle', | ||
START: 'start', | ||
END: 'end', | ||
}; | ||
|
||
const GRID_TYPE = { | ||
export const GRID_TYPE = { | ||
HORIZONTAL: 'horizontal', | ||
VERTICAL: 'vertical', | ||
BOTH: 'both', | ||
}; | ||
|
||
export const EuiXYChartAxisUtils = { | ||
TITLE_POSITION, | ||
GRID_TYPE, | ||
ORIENTATION, | ||
}; |
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,9 +1,4 @@ | ||
const ORIENTATION = { | ||
export const ORIENTATION = { | ||
HORIZONTAL: 'horizontal', | ||
VERTICAL: 'vertical', | ||
BOTH: 'both', | ||
}; | ||
|
||
export const EuiXYChartUtils = { | ||
ORIENTATION, | ||
} |
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,3 +1,3 @@ | ||
export { EuiXYChartUtils } from './chart_utils'; | ||
export { EuiXYChartAxisUtils } from './axis_utils'; | ||
export { EuiXYChartTextUtils } from './text_utils'; | ||
export * as EuiXYChartUtils from './chart_utils'; | ||
export * as EuiXYChartAxisUtils from './axis_utils'; | ||
export * as EuiXYChartTextUtils from './text_utils'; |
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