Chart Label Style

Marco_Barradas
Marco_Barradas
Altair Employee
edited November 5 in Community Q&A
Hi I'm having trouble making some changes on a sactter graph. I would like my labels as percentages but I don´t find which format is expected.

I would like to show the Name of a series next to each point can I do it?
Thanks

Best Answer

Answers

  • jwpfau
    jwpfau New Altair Community Member
    edited March 2020 Answer ✓
    For the series name use  {series.name}
    The easiest thing for the percentage part would be to multiply the actual data with 100 before displaying it.

    There is probably some way to do this with sprintf, but i'm not really an expert in this.

    Maybe you can find something in the Highcharts documentation
    https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting
  • Marco_Barradas
    Marco_Barradas
    Altair Employee
    @jwpfau I ended up doing the graph with studio and Create Document.



    So the library is capable of doing greate things it would be great if we could modify de HTML code on an expert mode to show what we want with RM.