Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
I have a graph with really long headers that are from a calculated Dimension that uses a combo of two dimensions. I have figured out how to truncate them so that they aren't flowing in the graph, but I can't seem to figure out how to wrap them into two lines.
Here is my calculated dimension:
=([Program]& (' ('&[Stage]&')'))
I found one solution in a previous post with using this:
=If(Len(Name) > 15, Left(Name,FindOneOf(Name,' ',3)-1) & Chr(13) & Mid(Name,FindOneOf(Name,' ',3)+1) ,Name)
But I can't get it to work with one dimension, never mind my combined 2 dimension need 🙂 FYI - have some program names that are more that 50 characters 😕
Any suggestions?
Thanks as always!
data_RN
@data_RN wrote:Hello All,
I have a graph with really long headers that are from a calculated Dimension that uses a combo of two dimensions. I have figured out how to truncate them so that they aren't flowing in the graph, but I can't seem to figure out how to wrap them into two lines.
Here is my calculated dimension:
=([Program]& (' ('&[Stage]&')'))
I found one solution in a previous post with using this:
=If(Len(Name) > 15, Left(Name,FindOneOf(Name,' ',3)-1) & Chr(13) & Mid(Name,FindOneOf(Name,' ',3)+1) ,Name) whats app
But I can't get it to work with one dimension, never mind my combined 2 dimension need 🙂 FYI - have some program names that are more that 50 characters 😕
Any suggestions?
Thanks as always!
data_RN
labelWrap specifies whether to wrap or clip label once its width crosses labelMaxWidth. Default: true. Example: true, false. var chart = new CanvasJS.