Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.github.mikephil.charting.charts

import android.content.Context
import android.util.Log

@Deprecated("Use same class from package info.appdev.charting.charts instead")
open class BarChart : info.appdev.charting.charts.BarChart {
@Deprecated("Use same class from package info.appdev.charting.charts instead")
constructor(context: Context?) : super(context)
@Deprecated("Use same class from package info.appdev.charting.charts instead")
constructor(context: Context?, attrs: android.util.AttributeSet?) : super(context, attrs)
@Deprecated("Use same class from package info.appdev.charting.charts instead")
constructor(context: Context?, attrs: android.util.AttributeSet?, defStyle: Int) : super(context, attrs, defStyle)


override fun init() {
super.init()
Log.e("BarChart", "This class is deprecated. Please use info.appdev.charting.charts.BarChart instead.")
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.github.mikephil.charting.charts

import android.content.Context
import android.util.AttributeSet
import android.util.Log
import info.appdev.charting.charts.BubbleChart

@Deprecated("Use same class from package info.appdev.charting.charts instead")
class BubbleChart : BubbleChart {
constructor(context: Context?) : super(context)

constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs)

constructor(context: Context?, attrs: AttributeSet?, defStyle: Int) : super(context, attrs, defStyle)

override fun init() {
super.init()
Log.e("BubbleChart", "This class is deprecated. Please use info.appdev.charting.charts.BubbleChart instead.")
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.github.mikephil.charting.charts

import android.content.Context
import android.util.AttributeSet
import android.util.Log
import info.appdev.charting.charts.CandleStickChart

@Deprecated("Use same class from package info.appdev.charting.charts instead")
class CandleStickChart : CandleStickChart {
constructor(context: Context?) : super(context)

constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs)

constructor(context: Context?, attrs: AttributeSet?, defStyle: Int) : super(context, attrs, defStyle)

override fun init() {
super.init()
Log.e("CandleStickChart", "This class is deprecated. Please use info.appdev.charting.charts.CandleStickChart instead.")
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package com.github.mikephil.charting.charts

import android.content.Context
import android.util.AttributeSet
import android.util.Log
import info.appdev.charting.charts.CombinedChart

@Deprecated("Use same class from package info.appdev.charting.charts instead")
open class CombinedChart : CombinedChart {
@Deprecated("Use same class from package info.appdev.charting.charts instead")
constructor(context: Context?) : super(context)

@Deprecated("Use same class from package info.appdev.charting.charts instead")
constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs)

@Deprecated("Use same class from package info.appdev.charting.charts instead")
constructor(context: Context?, attrs: AttributeSet?, defStyle: Int) : super(context, attrs, defStyle)

override fun init() {
super.init()
Log.e("CombinedChart", "This class is deprecated. Please use info.appdev.charting.charts.CombinedChart instead.")
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.github.mikephil.charting.charts

import android.content.Context
import android.util.AttributeSet
import android.util.Log
import info.appdev.charting.charts.HorizontalBarChart

@Deprecated("Use same class from package info.appdev.charting.charts instead")
open class HorizontalBarChart : HorizontalBarChart {
constructor(context: Context?) : super(context)

constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs)

constructor(context: Context?, attrs: AttributeSet?, defStyle: Int) : super(context, attrs, defStyle)

override fun init() {
super.init()
Log.e("HorizontalBarChart", "This class is deprecated. Please use info.appdev.charting.charts.HorizontalBarChart instead.")
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package com.github.mikephil.charting.charts

import android.content.Context
import android.util.AttributeSet
import android.util.Log
import info.appdev.charting.charts.LineChart

@Deprecated("Use same class from package info.appdev.charting.charts instead")
open class LineChart : LineChart {
constructor(context: Context?) : super(context)
constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs)
constructor(context: Context?, attrs: AttributeSet?, defStyle: Int) : super(context, attrs, defStyle)

override fun init() {
super.init()
Log.e("LineChart", "This class is deprecated. Please use info.appdev.charting.charts.LineChart instead.")
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.github.mikephil.charting.charts

import android.content.Context
import android.util.AttributeSet
import android.util.Log
import info.appdev.charting.charts.PieChart

@Deprecated("Use same class from package info.appdev.charting.charts instead")
class PieChart : PieChart {
constructor(context: Context?) : super(context)

constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs)

constructor(context: Context?, attrs: AttributeSet?, defStyle: Int) : super(context, attrs, defStyle)

override fun init() {
super.init()
Log.e("PieChart", "This class is deprecated. Please use info.appdev.charting.charts.PieChart instead.")
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package com.github.mikephil.charting.charts

import android.content.Context
import android.util.AttributeSet
import android.util.Log
import info.appdev.charting.charts.RadarChart

@Deprecated("Use same class from package info.appdev.charting.charts instead")
open class RadarChart : RadarChart {
constructor(context: Context?) : super(context)

constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs)

constructor(context: Context?, attrs: AttributeSet?, defStyle: Int) : super(context, attrs, defStyle)

override fun init() {
super.init()
Log.e("RadarChart", "This class is deprecated. Please use info.appdev.charting.charts.RadarChart instead.")
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.github.mikephil.charting.charts

import android.content.Context
import android.util.AttributeSet
import android.util.Log
import info.appdev.charting.charts.ScatterChart

@Deprecated("Use same class from package info.appdev.charting.charts instead")
class ScatterChart : ScatterChart {
constructor(context: Context?) : super(context)

constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs)

constructor(context: Context?, attrs: AttributeSet?, defStyle: Int) : super(context, attrs, defStyle)

override fun init() {
super.init()
Log.e("ScatterChart", "This class is deprecated. Please use info.appdev.charting.charts.ScatterChart instead.")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import info.appdev.charting.renderer.BubbleChartRenderer
* is the area of the bubble, not the radius or diameter of the bubble that
* conveys the data.
*/
class BubbleChart : BarLineChartBase<BubbleData>, BubbleDataProvider {
open class BubbleChart : BarLineChartBase<BubbleData>, BubbleDataProvider {
constructor(context: Context?) : super(context)

constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import info.appdev.charting.renderer.CandleStickChartRenderer
/**
* Financial chart type that draws candle-sticks (OHCL chart).
*/
class CandleStickChart : BarLineChartBase<CandleData>, CandleDataProvider {
open class CandleStickChart : BarLineChartBase<CandleData>, CandleDataProvider {
constructor(context: Context?) : super(context)

constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import kotlin.math.sin
* View that represents a pie chart. Draws cake like slices.
*/
@Suppress("unused")
class PieChart : PieRadarChartBase<PieData> {
open class PieChart : PieRadarChartBase<PieData> {
/**
* rect object that represents the bounds of the piechart, needed for
* drawing the circle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import info.appdev.charting.renderer.ScatterChartRenderer
* Chart-View. CIRCLE and SCQUARE offer the best performance, TRIANGLE has the
* worst performance.
*/
class ScatterChart : BarLineChartBase<ScatterData>, ScatterDataProvider {
open class ScatterChart : BarLineChartBase<ScatterData>, ScatterDataProvider {
constructor(context: Context?) : super(context)

constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs)
Expand Down
Loading