Provide default to js-graph button is data-graph is null