ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

Custom BarSeries Palette on Selected state return the default ones #1492

Open Stanteq opened 3 years ago

Stanteq commented 3 years ago

Custom BarSeries Palette with seriesState="Selected" on tapping returns the default styles.

Tested only on iOS ns: 7.0.11 @nativescript/core: ~7.0.13, angular: 11.0.3

<RadCartesianChart seriesSelectionMode="Single">
    <CategoricalAxis tkCartesianHorizontalAxis> </CategoricalAxis>
    <LinearAxis tkCartesianVerticalAxis> </LinearAxis>
    <BarSeries
      tkCartesianSeries
      selectionMode="DataPoint"
      [items]="data"
      categoryProperty="label"
      valueProperty="value"
    >
    </BarSeries>
    <Palette tkCartesianPalette seriesState="Selected">
      <PaletteEntry tkCartesianPaletteEntry fillColor="Green">
      </PaletteEntry>
    </Palette>
    <Palette tkCartesianPalette>
      <PaletteEntry tkCartesianPaletteEntry fillColor="Orange">
      </PaletteEntry>
    </Palette>
  </RadCartesianChart>