NatelEnergy / grafana-plotly-panel

Show plotly graph in grafana panel
MIT License
145 stars 58 forks source link

Lines are not drawn #14

Closed innovia closed 6 years ago

innovia commented 7 years ago

Hi

I could not understand why i have data with markers but not with lines


TRACE {type: "scatter", mode: "lines", x: Array(415), y: Array(415), z: Array(0), …}line: color: "rgb(227, 196, 54)"dash: "solid"shape: "linear"width: 1000__proto__: Objectmarker: {size: 30, symbol: "circle", color: Array(415), colorscale: "YlOrRd", sizemode: "diameter", …}mode: "lines"ts: (415) [1505391574000, 1505391574500, 1505391575000, 1505391575500, 1505391576000, 1505391576500, 1505391577000, 1505391577500, 1505391578000, 1505391578500, 1505391579000, 1505391579500, 1505391580000, 1505391580500, 1505391581000, 1505391581500, 1505391582000, 1505391582500, 1505391583000, 1505391583500, 1505391584000, 1505391584500, 1505391585000, 1505391585500, 1505391586000, 1505391586500, 1505391587000, 1505391587500, 1505391588000, 1505391588500, 1505391589000, 1505391589500, 1505391590000, 1505391590500, 1505391591000, 1505391591500, 1505391592000, 1505391592500, 1505391593000, 1505391593500, 1505391594000, 1505391594500, 1505391595000, 1505391595500, 1505391596000, 1505391596500, 1505391597000, 1505391597500, 1505391598000, 1505391598500, 1505391599000, 1505391599500, 1505391600000, 1505391600500, 1505391601000, 1505391601500, 1505391602000, 1505391602500, 1505391603000, 1505391603500, 1505391604000, 1505391604500, 1505391605000, 1505391605500, 1505391606000, 1505391606500, 1505391607000, 1505391607500, 1505391608000, 1505391608500, 1505391609000, 1505391609500, 1505391610000, 1505391610500, 1505391611000, 1505391611500, 1505391612000, 1505391612500, 1505391613000, 1505391613500, 1505391614000, 1505391614500, 1505391615000, 1505391615500, 1505391616000, 1505391616500, 1505391617000, 1505391617500, 1505391618000, 1505391618500, 1505391619000, 1505391619500, 1505391620000, 1505391620500, 1505391621000, 1505391621500, 1505391622000, 1505391622500, 1505391623000, 1505391623500, …]type: "scatter"uid: "1eae74"x: Array(415)[0 … 99]0: null1: null2: null3: null4: null5: null6: null7: null8: null9: null10: null11: null12: null13: null14: null15: null16: null17: null18: null19: null20: null21: null22: null23: null24: null25: null26: null27: null28: null29: null30: null31: null32: null33: null34: null35: null36: null37: null38: null39: null40: null41: null42: null43: null44: null45: null46: null47: null48: null49: null50: null51: null52: null53: null54: null55: null56: null57: null58: null59: null60: null61: null62: null63: null64: null65: null66: null67: null68: null69: null70: null71: null72: null73: null74: null75: null76: null77: null78: null79: null80: null81: null82: null83: null84: null85: null86: null87: null88: null89: null90: null91: null92: null93: null94: null95: null96: null97: 198: 199: null[100 … 199][200 … 299][300 … 399][400 … 414]length: 415__proto__: Array(0)y: Array(415)[0 … 99][100 … 199][200 … 299][300 … 399][400 … 414]length: 415__proto__: Array(0)z: []__proto__: Object```
ryantxu commented 6 years ago

i'm not sure... did you try the 'lines' mode?

lines