google / charts

https://pub.dev/packages/charts_flutter
Apache License 2.0
2.8k stars 1.2k forks source link

Add `flipVerticalAxis` to `NumericComboChart` #727

Open dsully-dev opened 2 years ago

dsully-dev commented 2 years ago

NumericComboCharts extends CartesianChart<num> but does not include the flipVerticalAxis parameter in the constructor. Since that variable is final, it can't be changed by users. We want to leverage the existing functionality of CartesianChart when using NumericComboChart. I believe the following would do the trick:

Existing (combo_chart.dart#51):

    bool defaultInteractions = true,

Proposed change:

    bool defaultInteractions = true,
    bool? filpVerticalAxis = false,