Hello,
I have successfully implemented a chart with Dual Axis (with Smart GWT 3.1p_2013-07-24 version).
After upgrading to Smart GWT 4.1p20141205 version, and without modifying anything to the chart's code, I have the following issue:
- second axis values nor curve are missing
- error message "Uncaught TypeError: Cannot read property '0' of undefined" "ISC_Core.js:283" occurs in the browser's console (Chrome and IE)
Data used for the chart are fully available.
Please find below the code for the creation of the chart.
Do you know what's wrong?
And a second question if you allow me: does the ZOOM functionality available for Dual Axis chart?
Thank you very much for your help!
moeChart = new FacetChart();
moeChart.setWidth100();
moeChart.setHeight100();
moeChart.setChartType(ChartType.COLUMN);
moeChart.setStacked(true);
moeChart.setValueTitle("Nb Aggregation");
moeChart.setTitle("MOE " + moeValue + " space statistics");
moeChart.setShowChartRect(true);
areaFacet = new Facet();
areaFacet.setValues(new FacetValue(moeValue, moeValue));
areaFacet.setId("moeid");
metricFacet = new Facet();
metricFacet.setValues(new FacetValue("NBAGG", "Nb Aggregation"), new FacetValue("DBSIZE", "DB Size (MB)"));
metricFacet.setInlinedValues(true);
metricFacet.setId("metric");
metricSettings = new MetricSettings();
metricSettings.setChartType(ChartType.LINE);
metricSettings.setMultiFacet(true);
metricSettings.setShowDataPoints(true);
metricSettings.setValueTitle("DB Size (MB)");
moeChart.setFacets(new Facet("DATE"), areaFacet, metricFacet);
moeChart.setExtraAxisMetrics("DBSIZE");
moeChart.setExtraAxisSettings(metricSettings);
moeChart.setData(moeChartData);
graphViewerLayout.addMember(moeChart);
I have successfully implemented a chart with Dual Axis (with Smart GWT 3.1p_2013-07-24 version).
After upgrading to Smart GWT 4.1p20141205 version, and without modifying anything to the chart's code, I have the following issue:
- second axis values nor curve are missing
- error message "Uncaught TypeError: Cannot read property '0' of undefined" "ISC_Core.js:283" occurs in the browser's console (Chrome and IE)
Data used for the chart are fully available.
Please find below the code for the creation of the chart.
Do you know what's wrong?
And a second question if you allow me: does the ZOOM functionality available for Dual Axis chart?
Thank you very much for your help!
moeChart = new FacetChart();
moeChart.setWidth100();
moeChart.setHeight100();
moeChart.setChartType(ChartType.COLUMN);
moeChart.setStacked(true);
moeChart.setValueTitle("Nb Aggregation");
moeChart.setTitle("MOE " + moeValue + " space statistics");
moeChart.setShowChartRect(true);
areaFacet = new Facet();
areaFacet.setValues(new FacetValue(moeValue, moeValue));
areaFacet.setId("moeid");
metricFacet = new Facet();
metricFacet.setValues(new FacetValue("NBAGG", "Nb Aggregation"), new FacetValue("DBSIZE", "DB Size (MB)"));
metricFacet.setInlinedValues(true);
metricFacet.setId("metric");
metricSettings = new MetricSettings();
metricSettings.setChartType(ChartType.LINE);
metricSettings.setMultiFacet(true);
metricSettings.setShowDataPoints(true);
metricSettings.setValueTitle("DB Size (MB)");
moeChart.setFacets(new Facet("DATE"), areaFacet, metricFacet);
moeChart.setExtraAxisMetrics("DBSIZE");
moeChart.setExtraAxisSettings(metricSettings);
moeChart.setData(moeChartData);
graphViewerLayout.addMember(moeChart);