result = available * (1 - getLowerMargin() - getUpperMargin() - getCategoryMargin()); result = result / categoryCount; result = available * (1 - getLowerMargin() - getUpperMargin());
result = available * (1 - getLowerMargin() - getUpperMargin() - getCategoryMargin()); result = result / categoryCount; result = available * (1 - getLowerMargin() - getUpperMargin());
/** * Calculates the available space for each series. * * @param space the space along the entire axis (in Java2D units). * @param axis the category axis. * @param categories the number of categories. * @param series the number of series. * * @return The width of one series. */ protected double calculateSeriesWidth(double space, CategoryAxis axis, int categories, int series) { double factor = 1.0 - getItemMargin() - axis.getLowerMargin() - axis.getUpperMargin(); if (categories > 1) { factor = factor - axis.getCategoryMargin(); } return (space * factor) / (categories * series); }
/** * Calculates the available space for each series. * * @param space the space along the entire axis (in Java2D units). * @param axis the category axis. * @param categories the number of categories. * @param series the number of series. * * @return The width of one series. */ protected double calculateSeriesWidth(double space, CategoryAxis axis, int categories, int series) { double factor = 1.0 - getItemMargin() - axis.getLowerMargin() - axis.getUpperMargin(); if (categories > 1) { factor = factor - axis.getCategoryMargin(); } return (space * factor) / (categories * series); }
/** * Calculates the available space for each series. * * @param space the space along the entire axis (in Java2D units). * @param axis the category axis. * @param categories the number of categories. * @param series the number of series. * * @return The width of one series. */ protected double calculateSeriesWidth(double space, CategoryAxis axis, int categories, int series) { double factor = 1.0 - getItemMargin() - axis.getLowerMargin() - axis.getUpperMargin(); if (categories > 1) { factor = factor - axis.getCategoryMargin(); } return (space * factor) / (categories * series); }
/** * Calculates the available space for each series. * * @param space the space along the entire axis (in Java2D units). * @param axis the category axis. * @param categories the number of categories. * @param series the number of series. * * @return The width of one series. */ protected double calculateSeriesWidth(double space, CategoryAxis axis, int categories, int series) { double factor = 1.0 - getItemMargin() - axis.getLowerMargin() - axis.getUpperMargin(); if (categories > 1) { factor = factor - axis.getCategoryMargin(); } return (space * factor) / (categories * series); }
- xAxis.getUpperMargin() - categoryMargin); if (columns > 0) {
- domainAxis.getUpperMargin() - categoryMargin); if (columns > 0) {
- xAxis.getUpperMargin() - categoryMargin); if (columns > 0) {
- domainAxis.getUpperMargin() - categoryMargin); if ((rows * columns) > 0) { state.setBarWidth(Math.min(used / (dataset.getColumnCount()),
- domainAxis.getUpperMargin() - categoryMargin); if ((rows * columns) > 0) { state.setBarWidth(Math.min(used / (dataset.getColumnCount()),
- xAxis.getUpperMargin() - categoryMargin - itemMargin); if (columns > 0) {
- xAxis.getUpperMargin() - categoryMargin - itemMargin); if (columns > 0) {
- domainAxis.getUpperMargin() - categoryMargin - currentItemMargin); if ((rows * columns) > 0) {
- domainAxis.getUpperMargin() - categoryMargin - currentItemMargin); if ((rows * columns) > 0) {
- domainAxis.getUpperMargin() - categoryMargin - currentItemMargin); if ((rows * columns) > 0) {
- domainAxis.getUpperMargin() - categoryMargin - currentItemMargin); if ((rows * columns) > 0) {
- domainAxis.getUpperMargin() - categoryMargin - currentItemMargin); if ((rows * columns) > 0) {
- domainAxis.getUpperMargin() - categoryMargin - currentItemMargin); if ((rows * columns) > 0) {