Forum Discussion
jazfunk
5 years agoFrequent Visitor
Modify Axis Values for Letter Grade Category
I've modified the Microsoft Bullet Chart to have additional bars, and some other necessary customizations. So far, I've been successful. The trouble I'm having now is attempting to display let...
- 5 years ago
V-lianl-msft You're correct in that it was difficult, and took me quite a while to come up with a solution... but I did last night.
I was able to capture the axis right before it was drawn.
This screenshot shows the area in the setUpBulletsHorizontally() method where I instantiated the existing scale, built a new axis, set the tickValues() and tickFormat() methods to the letter/number grade conversion values, then assigned it to the bar.xAxisProperties object if the existing current bar/bullet *resultValue in the loop was non-numeric.
*Note: The "resultValue" property is a custom property I added to the BulletChartModel BarData interface.Worked like a charm!
V-lianl-msft
5 years agoCommunity Support
I think it will be very complicated to do so. It is difficult to define the length between letter grade and the number range of letter grade . We also need to consider the order of letter grade.