Hi Jesse,
Thank you for your update.
Yes, it is possible to set any number values (25 or 18.5) to LineWeight within a range between 0 and 1583. It can be achieved by typecasting number value as “OfficeChartLineWeight” as we mentioned in our earlier update.
Code snippet:
//Sets line weight. serie.SerieFormat.LineProperties.LineWeight = (OfficeChartLineWeight)18.5; |
Note:
Without typecasting, you cannot directly set the value to LineWeight property.
Please let us know if you have any other questions.
Regards,
Mohanaselvam J