Skip to content

Commit 74f6a13

Browse files
committed
Cosmetic
1 parent 8b861e3 commit 74f6a13

File tree

1 file changed

+0
-23
lines changed
  • chartLib/src/main/kotlin/info/appdev/charting/charts

1 file changed

+0
-23
lines changed

chartLib/src/main/kotlin/info/appdev/charting/charts/BarChart.kt

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,19 @@ import java.util.Locale
1717
* Chart that draws bars.
1818
*/
1919
open class BarChart : BarLineChartBase<BarData>, BarDataProvider {
20-
/**
21-
* @return true the highlight operation is be full-bar oriented, false if single-value
22-
*/
2320
/**
2421
* Set this to true to make the highlight operation full-bar oriented, false to make it highlight single values (relevant
2522
* only for stacked). If enabled, highlighting operations will highlight the whole bar, even if only a single stack entry
2623
* was tapped.
2724
* Default: false
28-
*
29-
*/
30-
/**
31-
* flag that indicates whether the highlight should be full-bar oriented, or single-value?
3225
*/
3326
override var isHighlightFullBarEnabled: Boolean = false
3427

35-
/**
36-
* returns true if drawing values above bars is enabled, false if not
37-
*
38-
*/
3928
/**
4029
* if set to true, all values are drawn above their bars, instead of below their top
4130
*/
4231
override var isDrawValueAboveBarEnabled: Boolean = true
4332

44-
/**
45-
* returns true if drawing shadows (maxvalue) for each bar is enabled, false if not
46-
*
47-
*/
4833
/**
4934
* if set to true, a grey area is drawn behind each bar that indicates the maximum value
5035
*/
@@ -194,7 +179,6 @@ open class BarChart : BarLineChartBase<BarData>, BarDataProvider {
194179

195180
/**
196181
* If set to true, all values are drawn above their bars, instead of below their top.
197-
*
198182
*/
199183
fun setDrawValueAboveBar(enabled: Boolean) {
200184
this.isDrawValueAboveBarEnabled = enabled
@@ -203,7 +187,6 @@ open class BarChart : BarLineChartBase<BarData>, BarDataProvider {
203187
/**
204188
* If set to true, a grey area is drawn behind each bar that indicates the maximum value. Enabling his will reduce
205189
* performance by about 50%.
206-
*
207190
*/
208191
fun setDrawBarShadow(enabled: Boolean) {
209192
this.isDrawBarShadowEnabled = enabled
@@ -225,7 +208,6 @@ open class BarChart : BarLineChartBase<BarData>, BarDataProvider {
225208
* Adds half of the bar width to each side of the x-axis range in order to allow the bars of the barchart to be
226209
* fully displayed.
227210
* Default: false
228-
*
229211
*/
230212
fun setFitBars(enabled: Boolean) {
231213
mFitBars = enabled
@@ -256,9 +238,4 @@ open class BarChart : BarLineChartBase<BarData>, BarDataProvider {
256238
this.mDrawRoundedBars = true
257239
init()
258240
}
259-
260-
// override val width: Int
261-
// get() = TODO("Not yet implemented")
262-
// override val height: Int
263-
// get() = TODO("Not yet implemented")
264241
}

0 commit comments

Comments
 (0)