Line chart with null data point not working

The documentation for a!lineChartField() describes that if we pass null as data value, then that point will not plotted and we will get a broken line (see the last example in https://docs.appian.com/suite/help/17.1/Line_Chart_Component.html ). This doesn't seem to be working for me. The null values are getting plotted as 0 for me. I have attached the screenshot where I copy pasted the code from the example along with the output graph.

Has anyone experienced this issue before? Is there any work around for this?

  Discussion posts and replies are publicly visible

Parents
  •  

    This code is working for me

    a!lineChartField(

         label: "Label",

         labelPosition: "ABOVE",

         categories: {"Mon", "Tue", "Wed", "Thur", "Fri", "Sat", "Sun"},

         series: {

           a!chartSeries(label: "High", data: {76, 82, null, 92, 87, 79, 80}),

           a!chartSeries(label: "High", data: {64, 70, 82, 81, 75, 67, null})

         },

         xAxisTitle:"Test 1",

         yAxisTitle:"Test 2"

       )

     

    Can you retry it : copy this code and paste

    and on which version of appian are you working ?

    Regards

    Ankit

Reply
  •  

    This code is working for me

    a!lineChartField(

         label: "Label",

         labelPosition: "ABOVE",

         categories: {"Mon", "Tue", "Wed", "Thur", "Fri", "Sat", "Sun"},

         series: {

           a!chartSeries(label: "High", data: {76, 82, null, 92, 87, 79, 80}),

           a!chartSeries(label: "High", data: {64, 70, 82, 81, 75, 67, null})

         },

         xAxisTitle:"Test 1",

         yAxisTitle:"Test 2"

       )

     

    Can you retry it : copy this code and paste

    and on which version of appian are you working ?

    Regards

    Ankit

Children