Charts improvements

This commit is contained in:
Ilya Laktyushin
2020-03-14 00:46:32 +04:00
parent 598f270635
commit bcae054398
33 changed files with 461 additions and 339 deletions

View File

@@ -162,8 +162,8 @@ class ChartView: UIControl {
}
extension ChartView: GColorModeContainer {
func apply(colorMode: GColorMode, animated: Bool) {
detailsView?.apply(colorMode: colorMode, animated: animated && (detailsView?.isVisibleInWindow ?? false))
extension ChartView: ChartThemeContainer {
func apply(theme: ChartTheme, animated: Bool) {
detailsView?.apply(theme: theme, animated: animated && (detailsView?.isVisibleInWindow ?? false))
}
}