Y-Axis Title styling based on the line color

Can we set different colors to parts of title based on the line color for a chart, something like below, we are using single axis for two similar unit series

Thanks,
Raj

1 Reply 1 reply marked as answer

DG Durga Gopalakrishnan Syncfusion Team February 5, 2021 04:15 PM UTC

Hi Raj,

Greetings from Syncfusion.

We have analyzed your query with attached image. We suggest you use annotations to display the customize text for corresponding series. We have attached sample for your reference. 

<ejs-chart [annotations]="annotations">
</ejs-chart>
 public annotations: ChartAnnotationSettingsModel[] = [
    {
      x: "3%",
      y: "50%",
      coordinateUnits: "Pixel",
      region: "Chart",
      content:
        '<div style="color:#404041;transform: rotate(-90deg);" id="chart_annotation1">Series 3 /</div>'
    }
];


Please revert us if you have any concerns.

Regards,
Durga G



Marked as answer
Loader.
Up arrow icon