Posted 15 March 2022, 8:16 am EST
                                
                                
                                    Hello,
You may use the itemFormatter property of the FlexChart to achieve both the mentioned requirements. You can check the series data value and set the element fill, stroke accordingly as per your requirement. Please refer to the code snippet and sample link below demonstrating the same:
 
barchart.itemFormatter = function (engine, hitTestInfo, defaultRenderer) {
    var ht = hitTestInfo;
    // check that this is the right series/element
    if (ht.series.binding == '2016') {
      // get current and previous values
      var chart = ht.series.chart,
        items = chart.collectionView.items,
        value = items[ht.pointIndex][ht.series.binding];
      //do not draw data points for value less then 4000
      if (value < 2466470) {
        engine.fill = 'red';
        engine.stroke = 'red';
      }
    }
    // render element as usual
    defaultRenderer();
  };
Sample link: https://stackblitz.com/edit/js-4louav?file=index.js
Regards