Skip to content

Commit 42febf2

Browse files
committedAug 24, 2020
fix: Defined barWidth not applying to chart.
1 parent 4e0e8bd commit 42febf2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

Diff for: ‎src/charting/data/BarData.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ export class BarData extends BarLineScatterCandleBubbleData<BarEntry, BarDataSet
1515

1616
/**
1717
* Sets the width each bar should have on the x-axis (in values, not pixels).
18-
* Default 0.85f
18+
* Default 0.85
1919
*
2020
* @param this.mBarWidth
2121
*/
22-
public setBarWidth(mBarWidth) {
23-
this.mBarWidth = this.mBarWidth;
22+
public setBarWidth(value) {
23+
this.mBarWidth = value;
2424
}
2525

2626
public getBarWidth() {

0 commit comments

Comments
 (0)
Please sign in to comment.