question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: resizeable Annotations

See original GitHub issue

Hi rrag, it is possible to resize the annotations? Let say I am going to show daily transactions on a candlestick chart. Buys will be shown above the candle and sells are under the cancle, just like the triangles shown in here (impleted by my repo). I try to use the Annotation, but the size of the annotations will not be resized if I zoom in or out, as a result, annotations will become overlaped.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rragcommented, May 15, 2016

added example for annotations, but these are not resizable. I dont think they should be. but the annotation does receive the following props, so any custom component can use this to size it accordingly

xScale={xScale}
yScale={yScale}
xAccessor={xAccessor}
plotData={plotData}
datum={d}
1reaction
WaiSiuKeicommented, Apr 20, 2016

I dropped React and impleted a pure canvas chart, the main dependency is d3.scale

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resize selected annotations - Kami Community
I haven't seen any way to do this, and I'd like to be able to resize any annotations I've selected. I often write...
Read more >
[Feature] Resize images which were already annotated. #1105
Is your feature request related to a problem? Please describe. I'd like to resize all my images after I have already annotated the...
Read more >
Components use Responsive Resize, even when disabled.
When I try to resize the component it resizes the content inside, even when Responsive Resize is disabled. Annotation 2019-05-23 110144.png ...
Read more >
Problem with Custom Annotation -- Shifting after Resizing
I'm having a slight issue (bug, possibly?) with custom annotations. I have created a custom annotation with an image (XAML shown below)
Read more >
Edit features with feature-linked annotation - ArcGIS Developers
Annotation is useful for displaying text that you don't want to move or resize when the map is panned or zoomed (unlike labels...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found