Skip to content

Commit 0b97f45

Browse files
committed
Removing redundant changes
1 parent b3afa36 commit 0b97f45

21 files changed

+997
-110
lines changed

change/@fluentui-react-charting-e2d122a6-2dda-476d-8963-178e83628b0d.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/charts/react-charting/etc/react-charting.api.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ export interface ICartesianChartProps {
458458
xAxistickSize?: number;
459459
xAxisTitle?: string;
460460
xMaxValue?: number;
461+
xMinValue?: number;
461462
xScaleType?: AxisScaleType;
462463
yAxis?: AxisProps;
463464
yAxisAnnotation?: string;
@@ -970,6 +971,7 @@ export interface IGroupedVerticalBarChartStyles extends ICartesianChartStyles {
970971

971972
// @public (undocumented)
972973
export interface IGVBarChartSeriesPoint {
974+
barLabel?: string;
973975
callOutAccessibilityData?: IAccessibilityProps;
974976
color?: string;
975977
data: number;
@@ -1106,6 +1108,7 @@ export interface IHorizontalBarChartStyles {
11061108

11071109
// @public (undocumented)
11081110
export interface IHorizontalBarChartWithAxisDataPoint {
1111+
barLabel?: string;
11091112
callOutAccessibilityData?: IAccessibilityProps;
11101113
color?: string;
11111114
gradient?: [string, string];
@@ -1125,6 +1128,7 @@ export interface IHorizontalBarChartWithAxisProps extends ICartesianChartProps {
11251128
culture?: string;
11261129
data?: IHorizontalBarChartWithAxisDataPoint[];
11271130
enableGradient?: boolean;
1131+
hideLabels?: boolean;
11281132
onRenderCalloutPerDataPoint?: IRenderFunction<IHorizontalBarChartWithAxisDataPoint>;
11291133
roundCorners?: boolean;
11301134
styles?: IStyleFunctionOrObject<IHorizontalBarChartWithAxisStyleProps, IHorizontalBarChartWithAxisStyles>;
@@ -1139,6 +1143,7 @@ export interface IHorizontalBarChartWithAxisStyleProps extends ICartesianChartSt
11391143

11401144
// @public
11411145
export interface IHorizontalBarChartWithAxisStyles extends ICartesianChartStyles {
1146+
barLabel?: IStyle;
11421147
chartLabel?: IStyle;
11431148
opacityChangeOnHover: IStyle;
11441149
xAxisDomain?: IStyle;
@@ -1828,6 +1833,7 @@ export interface ITreeStyles {
18281833

18291834
// @public (undocumented)
18301835
export interface IVerticalBarChartDataPoint {
1836+
barLabel?: string;
18311837
callOutAccessibilityData?: IAccessibilityProps;
18321838
color?: string;
18331839
gradient?: [string, string];
@@ -1958,6 +1964,7 @@ export interface IVerticalStackedChartProps {
19581964

19591965
// @public (undocumented)
19601966
export interface IVSChartDataPoint {
1967+
barLabel?: string;
19611968
callOutAccessibilityData?: IAccessibilityProps;
19621969
color?: string;
19631970
data: number | string;

packages/charts/react-charting/src/components/CommonComponents/CartesianChart.base.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ export class CartesianChartBase
244244
containerWidth: this.state.containerWidth,
245245
hideTickOverlap: this.props.hideTickOverlap,
246246
calcMaxLabelWidth: this._calcMaxLabelWidthWithTransform,
247+
xMinValue: this.props.xMinValue,
248+
xMaxValue: this.props.xMaxValue,
247249
...this.props.xAxis,
248250
};
249251

packages/charts/react-charting/src/components/CommonComponents/CartesianChart.types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,11 @@ export interface ICartesianChartProps {
322322
*/
323323
yMaxValue?: number;
324324

325+
/**
326+
* minimum data value point in x-axis (for numeric x-axis)
327+
*/
328+
xMinValue?: number;
329+
325330
/**
326331
* maximum data value point in x-axis
327332
*/

0 commit comments

Comments
 (0)