| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
hey @t1-nva StyleParam.TextInfo has the toConcatString function, which you should be able to use from C# : using Plotly.NET;
StyleParam.TextInfo.toConcatString(
new StyleParam.TextInfo [] {
StyleParam.TextInfo.Label,
StyleParam.TextInfo.Value
}
).ToString()returns "label+value"however, we moved away from these combinatory methods in StyleParam and you seem to have found one were we simply forgot to clean the API and just expose all combination as UnionCases, so ill make sure to track this so that there will be StyleParam.TextInfo.LabelValue etc. in the future ;) |
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
{{title}}
Uh oh!
There was an error while loading. Please reload this page.
I have very little experience with F# and C# interaction and also the underlying Plotly concepts so please excuse my obvious ignorance here, but I have tried various things and still can't get it to work :-)
I've successfully generated a treemap from an ELF symbol tree and I want to display custom information in the nodes. My current approach is to use TextInfo, but I can't figure out how to do something similar to 'label+value` in C#
I.e. is there a way to display both Label and Value or use some other mechanism to achieve the same/similar result?