Hi Ryan,
Please find the response for chart related query.
Query #1: For some reason when the legend is very long ellipsis is not working
We have analysed your query. From that, we would like to let you know that the donut chart legend is working fine in the latest version 18.3.44. Unfortunately, we are unable to reproduce the reported scenario. We have also attached the sample used for testing for your reference. Please find the below screenshot, and sample.
Screenshot:
If you still face this issue. kindly revert us with the following information which will be more helpful for further analysis and provide you the solution sooner.
- Please share the package version used in the sample.
- Try to reproduce the reported scenario in the above sample
Query 2 : how to use textStyle in legendSettings?
We can achieve your requirement by using “Template” method available in tooltipSettings, through which the tooltip text can be formatted as per requirement. As of now we don’t have support for tooltip template of multiple series we are working on providing template support for trackball through which we can achieve your requirement. Based on that we have prepared a sample and also provided the code snippet for your reference.
Code Snippet:
// add your additional code here
public legendSettings: Object = {
visible: true,
position: "Right",
textStyle: {
fontFamily: "TimesNewRoman",
size: "16px",
fontWeight: "600",
fontStyle: "italic"
}
};
// add your additional code here |
Screenshot:
Let us know if you have any concerns.
Regards,
Srihari M