Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/#340 #362

Open
wants to merge 5 commits into
base: v1.5.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ History
-------
##### Version 1.5.5 (not yet released)
- fix cross hair painting ([#340](https://github.com/jfree/jfreechart/issues/340))
- fix zooming on CombinedDomainXYPlot with OfflineRenderingChartPanel ([#351](https://github.com/jfree/jfreechart/issues/351))

##### Version 1.5.4 (8 January 2023)
- add new methods to access maps for datasets, renderers and axes in plots ([#201](https://github.com/jfree/jfreechart/issues/201));
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jfree/chart/ChartPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -1926,7 +1926,7 @@ public void mouseClicked(MouseEvent event) {
if (this.chart == null) {
return;
}
this.chart.setNotify(true);
this.chart.handleClick(x, y, this.info);

// new entity code...
Object[] listeners = this.chartMouseListeners.getListeners(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ private static void copyPlotRenderingInfo(PlotRenderingInfo source,
PlotRenderingInfo target) {
target.setDataArea(source.getDataArea());
target.setPlotArea(source.getPlotArea());
for (int i = 0; i < target.getSubplotCount(); i++) {
for (int i = 0; i < source.getSubplotCount(); i++) {
PlotRenderingInfo subSource = source.getSubplotInfo(i);
PlotRenderingInfo subTarget = new PlotRenderingInfo(
target.getOwner());
Expand Down