How to use the vega.schema function in vega

To help you get started, we’ve selected a few vega examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github vega / lyra / src / js / util / index.js View on Github external
schema: function() {
    return vgSchema || (vgSchema = vg.schema({
      url: 'http://vega.github.io/vega/vega-schema.json'
    }));
  }
};
github vega / lyra / src / js / model / schema.js View on Github external
module.exports = function() {
  return _schema || (_schema = vg.schema({
    url: 'http://vega.github.io/vega/vega-schema.json'
  })); 
};
github vega / lyra / src / js / util / schema.js View on Github external
module.exports = function() {
  return vgSchema || (vgSchema = vg.schema({
    url: 'http://vega.github.io/vega/vega-schema.json'
  }));
};