syncfusion / flutter-examples

This repository contains the Syncfusion Flutter UI widgets examples and the guide to use them.
Other
1.98k stars 775 forks source link

SfCartesianChart: RangeColumnSeries - setting custom labels with the DataLabelSettings builder #799

Closed andrewpmoore closed 9 months ago

andrewpmoore commented 1 year ago

I'm trying to create a temperature graph with custom data labels, only showing up for the highest and the lowest values within a RangeColumnSeries

sample

Although I could probably show the attached labels without using the custom builder, there's more styling to be done on them which will require the custom builder.

Given the example above, I'm only wanting to render the 30.0 and 8.4 degree entries, but only at the top/bottom not at the top and bottom.

When using the builder and receiving these parameters

(data, point, series, pointIndex, seriesIndex)

where do I get the information to determine whether the label being rendered is the one at the top or the bottom of the RangeColumn?

sfHariHaraSudhan commented 1 year ago

Hi @andrewpmoore,

Currently, we don’t have support to determine whether the data labels are being rendered at top or bottom in range series. However, we have considered your requirement as a new feature and logged feature request for it in our feedback portal.

We will prioritize the features of every release based on demand and priority. So, this feature will be available in any of our upcoming releases. You can also track the status of the feature using the below feedback link.

Feedback Link: https://www.syncfusion.com/feedback/45435.

Regards, Hari Hara Sudhan. K.