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

Missing Reset Button #455

Open
alessioemireni opened this issue Nov 25, 2024 · 0 comments
Open

Missing Reset Button #455

alessioemireni opened this issue Nov 25, 2024 · 0 comments

Comments

@alessioemireni
Copy link

alessioemireni commented Nov 25, 2024

Hi,
I have tried to update from hightcharts 10.2.0 to 11.4.8 to fix the crash issue explained here #248 but the Reset Button is no more visible. I have downgraded to 11.4.5 but the issue persists. Seems that the issue is also affecting the web highcharts/highcharts#22128.
Below the snippet to create the zoom button:

  chart.zooming = [[HIZooming alloc] init];
  chart.zooming.type = @"xy";
  chart.zooming.resetButton = [[HIResetButton alloc] init];
  chart.zooming.resetButton.position = [[HIAlignObject alloc] init];
  chart.zooming.resetButton.position.align = @"left";
  chart.zooming.resetButton.position.verticalAlign = @"top";
  chart.zooming.resetButton.position.x = @0;
  chart.zooming.resetButton.theme = [[HISVGAttributes alloc] init];
  chart.zooming.resetButton.theme.fill = [[HIColor alloc] initWithHexValue:self._colors.resetZoomBackground];
  chart.zooming.resetButton.theme.stroke = [[HIColor alloc] initWithHexValue:self._colors.resetZoomBackground];
  chart.zooming.resetButton.theme.style = [[HICSSObject alloc] init];
  chart.zooming.resetButton.theme.style.opacity = @1;
  chart.zooming.resetButton.theme.style.borderRadius = @6;
  chart.zooming.resetButton.theme.style.height = @24;
  chart.zooming.resetButton.theme.style.width = @91;
  chart.zooming.resetButton.theme.style.fontSize = @"12px";
  chart.zooming.resetButton.theme.style.textAlign = @"center";
  chart.zooming.resetButton.theme.style.color = self._colors.resetZoomText;
  chart.zooming.resetButton.theme.style.padding = @"5px 8px";

Is there any workaround to fix this issue or a Plan to fix it?
Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant