amcharts / amcharts5

The newest, fastest, and most advanced amCharts charting library for JavaScript and TypeScript apps.
Other
345 stars 92 forks source link

Unable to close indicators stockchart #1688

Closed workingbuddy10 closed 1 month ago

workingbuddy10 commented 1 month ago

After adding this new feature of creating the horizontal lines via the plus button. One cannot close the additional panel. As the plus button overlays the close button of the panel.

https://www.amcharts.com/docs/v5/charts/stock/toolbar/drawing-control/#Adding_line_drawings

image

martynasma commented 1 month ago

You can move panel controls via custom theme:

const myTheme = am5.Theme.new(root);

myTheme.rule("Grid", ["scrollbar", "minor"]).setAll({
  visible: false
});

myTheme.rule("PanelControls").setAll({
  dx: -30
});

root.setThemes([
  am5themes_Animated.new(root),
  myTheme
]);
workingbuddy10 commented 1 month ago

@martynasma It can be an enhancement, if its added in the library itself. As its a common issue!!

martynasma commented 1 month ago

No, it's not. The tooltip button is a custom functionality, not something that's built-in.