Skip to content

Secondary state value is always 0.0 #83

@armanTabib

Description

@armanTabib

I've defined my KChartWidget as following:

KChartWidget(
                datas,
                chartStyle,
                chartColors,
                isLine: isLine,
                onSecondaryTap: () {
                  print('Secondary Tap');
                },
                isTrendLine: _isTrendLine,
                mainState: _mainState,
                volHidden: _volHidden,
                secondaryState: _secondaryState,
                fixedLength: 5,
                timeFormat: TimeFormat.YEAR_MONTH_DAY,
                translations: kChartTranslations,
                showNowPrice: _showNowPrice,
                //`isChinese` is Deprecated, Use `translations` instead.
                isChinese: isChinese,
                hideGrid: _hideGrid,
                isTapShowInfoDialog: true,
                verticalTextAlignment: _verticalTextAlignment,
                maDayList: [1, 10, 100],
              ),

No matter what secondary state I use, it is always 0. I've manipulated all possible properties, and for asks and bids even, I've generated random values but none of these made any change in the secondary state value.
P.S: I have zero financial knowledge about these values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions