The default flags, taking PlotWindow.noGridLines, PlotWindow.noTicks into account
()
| 792 | |
| 793 | /** The default flags, taking PlotWindow.noGridLines, PlotWindow.noTicks into account */ |
| 794 | public static int getDefaultFlags() { |
| 795 | int defaultFlags = 0; |
| 796 | if (!PlotWindow.noGridLines) //note that log ticks are also needed because the range may span less than a decade, then no grid is visible |
| 797 | defaultFlags |= X_GRID | Y_GRID | X_NUMBERS | Y_NUMBERS | X_LOG_TICKS | Y_LOG_TICKS; |
| 798 | if (!PlotWindow.noTicks) |
| 799 | defaultFlags |= X_TICKS | Y_TICKS | X_MINOR_TICKS | Y_MINOR_TICKS | X_NUMBERS | Y_NUMBERS | X_LOG_TICKS | Y_LOG_TICKS; |
| 800 | return defaultFlags; |
| 801 | } |
| 802 | |
| 803 | /** Adds a curve or set of points to this plot, where 'type' is |
| 804 | * "line", "connected circle", "filled", "bar", "separated bar", "circle", "box", "triangle", "diamond", "cross", |
no outgoing calls
no test coverage detected