javascript - Chart plotted with inverted fill -


I'm getting strange behavior in my chart.

When I am plotting a partial chart, the blue fill has been reversed like the image below.

The monthly chart is all right.

Chart

Enter image details here

Code

  var data 2014 = []; Var result = [[[1388534400000, 120371436.81027323], [1356998400000, 187385608.24066913]]]; Var p = 1; Var i = 0; For (i = 0; i and lt; results; lb; i ++, p ++) {data2014.push ({label: "received", data: results [i], xaxis: p}); } Var dataMaxSplines = (New Date (New Date). GetFullYear () + "/ 1/1"). GetTime (); Var graficoTipoSpLines = {Series: {splines: {show: true, stress: 0.19, lineview: 1, fill: 0.4}, number: {radius: 2, show: true}, shadow size: 2}, grid: {hoverable: True, clickable: true, tick color: "# d5d5d5", border width: 1, color: "# d5d5d5"}, color: ["# 00508f", "#F 47920"], xaxes: [{mode : "Time", Tick: [1, "year"], tick: length: zero, color: ["# 838383", "# 838383"], timefrom: "% Y", max: datamessesplain}, {tick: False}], yaxis: {ticks: 4, tickformers: function (val, axis) {if (val & gt; 99 99 99) {return val Tosting (). Replace (/ \ d {6} $ /, "M"); } And if (valta> 999 & amp; amp; amp; val & lt; = 999999) {return val.toString () Replace ($ 0/3} $ /, 'K'); } And {return valve; }}}, Legend: {backgroundOpacity: 0.5, noColumns: 1, Status: "NW", Color: "# 000000! Important"}} $ Plot ($ ("# Container"), Data 2014, GraffitiOptoppelins);  

In the series options splines With line . See it update


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -