'Is there a way to show the line's total value on the legend of the Ngx Line Chart?

If I set the total values to name attribute like this: "name": "Germany: 1234" it also shows up on the line like this: enter image description here


I want total value to only show up on the legend:

enter image description here

This is the structure of data:

        export var lineChartMulti = [
          {
            "name": "Germany",
            "series": [
              {
                "name": "2010",
                "value": 700
              },
              {
                "name": "2011",
                "value": 750
              },
...
            ]
          },
        
          {
            "name": "USA",
            "series": [
              {
                "name": "2010",
                "value": 650
              },
...


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source