sparqlGraphLibrary/src/main/java/com/ge/research/semtk/plotting/PlotlyPlotSpec.java
public void applyTable(Table table) throws Exception {
		
		JSONObject spec = (JSONObject) this.getSpec();
		if (spec == null) throw new Exception("Plotly spec json needs a " + JKEY_SPEC + " element");
		JSONArray data = (JSONArray) spec.get(JKEY_DATA);
		if (data == null) throw new Exception("Plotly spec json needs a " + JKEY_DATA + " element");

		while (walkToApplyTable(null, data, table)) {
			// repeat until false;
		}
	}
/**
	 * Substitute data and info from a table into a data spec
	 */
Substitute data and info from a table into a data spec
Substitute data and info from a table into a data spec
public void applyTable(Table table) throws Exception {
		JSONObject spec = (JSONObject) this.getSpec();
		if (spec == null) throw new Exception("Plotly spec json needs a " + JKEY_SPEC + " element");
		JSONArray data = (JSONArray) spec.get(JKEY_DATA);
		if (data == null) throw new Exception("Plotly spec json needs a " + JKEY_DATA + " element");
		while (walkToApplyTable(null, data, table)) {
		}
	}
public void applyTable ( Table table ) throws Exception { JSONObject spec = ( JSONObject ) this . getSpec ( ) ; if ( spec == null ) throw new Exception ( "Plotly spec json needs a " + JKEY_SPEC + " element" ) ; JSONArray data = ( JSONArray ) spec . get ( JKEY_DATA ) ; if ( data == null ) throw new Exception ( "Plotly spec json needs a " + JKEY_DATA + " element" ) ; while ( walkToApplyTable ( null , data , table ) ) { } }
Substitute data and info from a table into a data spec
Substitute data and info from a table into a data spec
// repeat until false;