Support Annotation Text Multi-line
See original GitHub issueSummary
ApexCharts supports multi-line text for other label types, but doesn’t support it for annotation labels as it only accepts a string
field. Typical newline characters are rendered instead of breaking to a new line.
https://apexcharts.com/docs/options/annotations/#ytext
API Changes
The text
field should continue to support the string
type but also add a string[]
type to support multi-lines.
Intended Use Case
Annotated text without multi-line ends up being 1 long text label.
E.g:
$324,539.9239 - 31/05/2022 09:32
would render better as:
$324,539.9239
31/05/2022 09:32
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
Topic: How can i do multiline text in Annotation? - QElectroTech
Hello polygon13, the widget with dynamic texts is only available in version 0.7 dev. In version 0.6 you have to use spaces so...
Read more >Annotation Text with multiple lines. - WaveMetrics
Hi, I am trying automate an analysis. In the loop, I do multiple curve fits and record the values in a string for...
Read more >About Multiline Text Format | AutoCAD 2021
You can create and edit multiple columns in multiline text using the In-Place Text Editor column options and column grips. Editing columns using ......
Read more >Annotate Multiple Lines of Text to ggplot2 Plot in R (Example)
First, I'll show how to annotate text in one line to a ggplot2 scatterplot using the annotate function:
Read more >Java annotation utility for multiline text - Stack Overflow
This underscores why my question needed to be voted down for mixing up the two. - At compile time = Annotation Processors. Whereas,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
could you please help me on this , thanks
hi sir how to i display x-axis annotation custom height , in area-chart ,
out put like below
my out put is like below
.ts code this.chartOptions = { series: [ { // data: [ // 20, 40, 60, 80, 60, 40, 20, 40, 80, 60, 40, 20, 40, 80, 100, 130, // ], data: [ 20, 30, 40, 50, 60, 50, 40, 30, 20, 30, 40, 50, 40, 30, 20, 80, ], }, ],
.html code
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.