{
module: "MMM-AVStock",
classes: "page2 Stocks",
position: "top_right", //"bottom_bar" is better for `mode:ticker`
config: {
timeFormat: "DD-MM HH:mm",
width: "50%",
symbols : ["NFLX", "WBD", "AAPL", "DAL"],
alias: ["Netflix", "Warner", "Apple", "Delta"],
tickerDuration: 20,
chartDays: 90,
maxTableRows: 5,
mode : "table", // "table" or "ticker"
direction: "row",
showChart: true,
pureLine: true,
chartWidth: "50%",
showVolume: true,
chartInterval: "daily", // choose from ["intraday", "daily", "weekly", "monthly"]
decimals : 2,
chartType: 'line', // 'line', 'candlestick', or 'ohlc'
alternateGridColor: '#223344',
chartLineColor: '#eee',
chartLabelColor: '#eee',
coloredCandles: true,
showPurchasePrices: true,
showPerformance2Purchase: true,
//debug: true
}
},
Hi,
I cannot get the graph to show on the screen. I tried various config but it didn’t work.
I tried the default config, same issue.
The ticket is showing up but not the graph.
See attached
localhost-1771973009790.log
log file
I found the error while debugging
Error: attribute viewBox: Expected number, “0 0 NaN 400”
updateChart @ MMM-Avstock.js 588