Skip to content

Commit

Permalink
Merge pull request #15 from FrenchTacoDev/master
Browse files Browse the repository at this point in the history
Added UserManagedState to Combo charts
  • Loading branch information
juliansteenbakker authored May 15, 2024
2 parents 78eb192 + e81b7a5 commit a98f9cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions community_charts_flutter/lib/src/combo_chart/combo_chart.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import '../base_chart.dart' show LayoutConfig;
import '../base_chart_state.dart' show BaseChartState;
import '../cartesian_chart.dart' show CartesianChart;
import '../selection_model_config.dart' show SelectionModelConfig;
import '../user_managed_state.dart';

/// A numeric combo chart supports rendering each series of data with different
/// series renderers.
Expand All @@ -48,6 +49,7 @@ class NumericComboChart extends CartesianChart<num> {
List<SelectionModelConfig<num>>? selectionModels,
common.RTLSpec? rtlSpec,
LayoutConfig? layoutConfig,
UserManagedState<num>? userManagedState,
bool defaultInteractions = true,
}) : super(
seriesList,
Expand All @@ -62,6 +64,7 @@ class NumericComboChart extends CartesianChart<num> {
selectionModels: selectionModels,
rtlSpec: rtlSpec,
layoutConfig: layoutConfig,
userManagedState: userManagedState,
defaultInteractions: defaultInteractions,
);

Expand Down Expand Up @@ -93,6 +96,7 @@ class OrdinalComboChart extends CartesianChart<String> {
List<SelectionModelConfig<String>>? selectionModels,
common.RTLSpec? rtlSpec,
LayoutConfig? layoutConfig,
UserManagedState<String>? userManagedState,
bool defaultInteractions = true,
}) : super(
seriesList,
Expand All @@ -107,6 +111,7 @@ class OrdinalComboChart extends CartesianChart<String> {
selectionModels: selectionModels,
rtlSpec: rtlSpec,
layoutConfig: layoutConfig,
userManagedState: userManagedState,
defaultInteractions: defaultInteractions,
);

Expand Down

0 comments on commit a98f9cc

Please sign in to comment.