Skip to content

Graph is not displayed #92

Description

@jeanmcabrera-netizen

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


{
			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
			}
		},

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions