Comments (3)
from d3-annotation.
This is available in v2.1.0 you can pass a wrapSplitter
property to the note configuration for your own split settings. For example:
{ note: {
label: " A different\n annotation type with long wrap",
title: "Another title with a long wrap for testing",
wrapSplitter: /\n/
}
}
In this case it would only wrap on the new line in the label. Thanks for this feature suggestion. Let me know if you have any issues with using it.
from d3-annotation.
from d3-annotation.
Related Issues (20)
- Annotations type change dynamically HOT 5
- The property `subject` don't work when config the annotation in version 2.2.2 HOT 3
- Overlapping Demo is broken HOT 2
- Multiple colors and text justification within annotation label HOT 1
- Drag connector end when editMode is enabled HOT 3
- EditMode not working properly in ShadowDOM HOT 5
- Missing Typescript type - notePadding() HOT 1
- Custom orientation being overridden HOT 3
- d3 v5 HOT 5
- TypeScript type definition missing Annotation.on HOT 1
- Canvas scaling? HOT 2
- Note placement HOT 3
- text.annotation-note-label overlaps text.annotation-note-title (rather than offsetting)
- Typescript error when calling makeAnnotations from the example
- please upgrade to d3 v6
- editMode Does not work after d3 v6 HOT 1
- Is it possible to create a hyperlink for annotation's title?
- subjectout is triggered constanly when hovering (Firefox)
- annotations editable by end user
- Will the package be updated? Can we do PRs?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d3-annotation.