Changeset 5141
- Timestamp:
- Oct 19, 2009, 9:03:37 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/clients/web/net/sf/basedb/clients/web/servlet/ExperimentExplorerPlotServlet.java
r5138 r5141 171 171 if (yLog && yLabel != null) yLabel = "log2("+yLabel+")"; 172 172 final boolean showXLabels = Values.getBoolean(request.getParameter("showXLabels")); 173 final boolean showAnnotations = true; 173 174 174 175 // Box plot specific parameters … … 259 260 Set<Integer> annotationTypes = explorer.getAnnotationTypeIds(); 260 261 List<AnnotationSummary> summaries = new ArrayList<AnnotationSummary>(3); 261 if (show XLabels && annotationTypes != null && annotationTypes.size() > 0)262 if (showAnnotations && annotationTypes != null && annotationTypes.size() > 0) 262 263 { 263 264 categoryAnnotations = new String[Math.min(3, annotationTypes.size())]; … … 278 279 { 279 280 short column = ba.getDataCubeColumnNo(); 280 ColumnKey key = new ColumnKey(ba.getId(), ba.getName());281 ColumnKey key = new ColumnKey(ba.getId(), showXLabels ? ba.getName(): " "); 281 282 for (AnnotationSummary summary : summaries) 282 283 { … … 306 307 // Create the plot and chart objects 307 308 categoryAxis.setCategoryLabelPositions(CategoryLabelPositions.UP_90); 308 categoryAxis.setVisible(showXLabels);309 309 Plot plot = new CategoryPlot(dataset, categoryAxis, valueAxis, new LineAndShapeRenderer()); 310 310 chart = new JFreeChart(plot);
Note: See TracChangeset
for help on using the changeset viewer.