Skip to Content
Author's profile photo Former Member

Append a new chart data on every Button Press.


By this way you can append your chart on different div with refreshed(NEW) value.

This is very small change in the code and you will achieve the desire output.


“only” parameters is responsible for placing chart with refreshed value.

var chart = new sap.viz.ui5.Line(


                                                       width : “800px”,

                                                    height : “400px”,

                                                     plotArea : {

                                                            ‘colorPalette’ : d3.scale.category20().range()


                                                    title : {

                                                        visible :false,

                                                        text : ‘Stock Data’


                                                    dataset : dataset





Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.