UNPKG

@carbon/charts

Version:
156 lines 2.88 kB
var _a; import { ZoomBarTypes } from './interfaces'; export var color = { pairingOptions: { '1-color': 4, '2-color': 5, '3-color': 5, '4-color': 3, '5-color': 2, '14-color': 1, }, }; export var area = { opacity: { unselected: 0, selected: 0.4, }, }; export var axis = { ticks: { number: 7, rotateIfSmallerThan: 30, verticalSpaceRatio: 2.5, horizontalSpaceRatio: 3.5, }, paddingRatio: 0.1, }; export var boxplot = { circle: { radius: 4, opacity: { hovered: 1, default: 0.3, }, }, box: { opacity: { hovered: 0.5, default: 0.3, }, }, strokeWidth: { default: 1, thicker: 2, }, }; export var legend = { items: { status: { ACTIVE: 1, DISABLED: 0, }, horizontalSpace: 12, verticalSpace: 24, textYOffset: 8, }, checkbox: { radius: 6.5, spaceAfter: 4, }, }; export var lines = { opacity: { unselected: 0.3, selected: 1, }, weight: { selected: 2, unselected: 1, }, }; export var meter = { statusBar: { paddingRight: 5, }, status: { indicatorSize: 16, paddingLeft: 15, }, }; export var pie = { radiusOffset: -15, innerRadius: 2, padAngle: 0.007, hoverArc: { outerRadiusOffset: 3, }, xOffset: 30, yOffset: 20, yOffsetCallout: 10, callout: { minSliceDegree: 5, offsetX: 15, offsetY: 12, horizontalLineLength: 8, textMargin: 2, }, }; export var radar = { opacity: { unselected: 0.1, selected: 0.3, }, xLabelPadding: 10, yLabelPadding: 8, yTicksNumber: 4, minRange: 10, xAxisRectHeight: 50, dotsRadius: 5, }; export var spacers = { default: { size: 24, }, }; export var tooltips = { horizontalOffset: 10, }; /** * Base transition configuration */ export var transitions = { default: { duration: 300, }, pie_slice_mouseover: { duration: 100, }, pie_chart_titles: { duration: 375, }, graph_element_mouseover_fill_update: { duration: 100, }, graph_element_mouseout_fill_update: { duration: 100, }, }; export var toolbar = { buttonSize: 32, iconSize: 20, height: 32, spacerHeight: 10, iconPadding: 6, }; export var zoomBar = { height: (_a = {}, _a[ZoomBarTypes.GRAPH_VIEW] = 32, _a[ZoomBarTypes.SLIDER_VIEW] = 10, _a), spacerHeight: 8, handleWidth: 5, handleBarWidth: 1, handleBarHeight: 12, }; //# sourceMappingURL=../src/configuration-non-customizable.js.map