# Easychart:pen legend,X-Trace label,Mark label with linebreak

**URL:** <https://forum.inductiveautomation.com/t/easychart-pen-legend-x-trace-label-mark-label-with-linebreak/11416>\
**Category:** Ignition\
**Created:** [March 25, 2016, 6:39pm UTC](https://forum.inductiveautomation.com/t/easychart-pen-legend-x-trace-label-mark-label-with-linebreak/11416 "2016-03-25T18:39:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [March 25, 2016, 6:39pm UTC](https://forum.inductiveautomation.com/t/easychart-pen-legend-x-trace-label-mark-label-with-linebreak/11416/1 "2016-03-25T18:39:14Z")

</div>

Easychart :

The pen name in the legend support HTML to have pen name with line break  
The pen name in the legend don’t support \n to have pen name with line break

html is not supported by XtraceLabel and Mark label which seem only to support \n  
(perhaps due to the group name prefix ???)

getXtraceLabel only works in X-Trace mode because the function is designed to get the X-Trace label and not the Mark label.  
We can use it to replace   
 with \n but it doesn’t solve the Mark-label case !

![:scratch:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/76d1620bec252bfac07050c889ff5a91dc8a9c25.gif ":scratch:") What is the solution to have line break both in :

- pen legend
- XtraceLabel
- Mark label

![:prayer:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e5a7e3b63facc151ea73e3b45db7bdb3d4bdc316.gif ":prayer:")
