Read the statement by Michael Teeuw here.
MMM-Avstock Graph is not displayed
-
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.
Thank you -
@JeanMichelC can you show the module config?
Can you also open the developers console , ctrl-shift-i
Select the console tab and put Avs in the filter field to see if there are any browser side errors -
@sdetweil
I found the error
Error: attribute viewBox: Expected number, “0 0 NaN 400”
updateChart @ MMM-Avstock.js 588Config config: { currencyStyle: "code", // One of ["code", "symbol", "name"] fadeSpeedInSeconds: 3.5, lastUpdateFormat: "HH:mm", maxChangeAge: 1 * 24 * 60 * 60 * 1000, maxWidth: "40%", numberDecimalsPercentages: 1, numberDecimalsValues: 2, displayMode: "table", // One of ["none", "vertical", "horizontal", "table", "default-table"] showColors: true, showCurrency: true, showChangePercent: true, showChangeValue: false, showChangeValueCurrency: false, showHiddenStocks: false, showLastUpdate: false, showPortfolioValue: false, showPortfolioGrowthPercent: false, showPortfolioGrowth: false, showPortfolioPerformanceValue: false, showPortfolioPerformancePercent: false, showStockPerformanceValue: false, showStockPerformanceValueSum: false, showStockPerformancePercent: false, stocksPerPage: 20, // Only relevant for display mode "table" updateIntervalInSeconds: 300, useGrouping: false, virtualHorizontalMultiplier: 2, -
Sorry, I sent the wrong code for the config
Here it isconfig: { timeFormat: "DD-MM HH:mm", width: "50%", symbols : ["NFLX", "AAPL",], alias: ["Netflix", "Apple"], 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, -
@JeanMichelC looks like an api error not returning a number,
I’d open an issue on the module page -
@JeanMichelC also, please use the code block around config or logs
Paste the text into the editor, blank line above and below
Select the text just pasted
Hit the </> button above the editorI have fixed the prior two
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login