<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Modify Axis Values for Letter Grade Category in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Modify-Axis-Values-for-Letter-Grade-Category/m-p/1933280#M30281</link>
    <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/182446"&gt;@V-lianl-msft&lt;/a&gt;&amp;nbsp;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to capture the axis right before it was drawn.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This screenshot shows the area in the&amp;nbsp;&lt;SPAN&gt;setUpBulletsHorizontally&lt;/SPAN&gt;&lt;SPAN&gt;() 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.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;*Note:&amp;nbsp; The "resultValue" property is a custom property I added to the BulletChartModel BarData interface.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Worked like a charm!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jazfunk_0-1625145734250.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/544943i1B362564AE37AE5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jazfunk_0-1625145734250.png" alt="jazfunk_0-1625145734250.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 01 Jul 2021 13:25:34 GMT</pubDate>
    <dc:creator>jazfunk</dc:creator>
    <dc:date>2021-07-01T13:25:34Z</dc:date>
    <item>
      <title>Modify Axis Values for Letter Grade Category</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Modify-Axis-Values-for-Letter-Grade-Category/m-p/1926649#M30202</link>
      <description>&lt;P&gt;I've modified the Microsoft Bullet Chart to have additional bars, and some other necessary customizations.&amp;nbsp; So far, I've been successful.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The trouble I'm having now is attempting to display letter values on the axis.&amp;nbsp; I have only one record in my dataset which I'm attempting to convert numbers (1-10) to their letter grade equivalent (A+, A, A-, B+, B, B-, C+, C, C-, D).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've modified the visual to convert the numbers to the letters using a JSON object, and it shows in the "Value" in the tooltip, and below the category name where I've manually added the text.&amp;nbsp; However, the Axis still displays the numbers 1-10.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which approach should I take to get the axis to display letters as needed?&amp;nbsp; I've looked at creating an ordinal scale (couldn't get that to work), and now I'm looking into modifying the axis after the DOM is rendered (with no success, yet).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The visual has a level of complexity where it's not very intuitive to make this modification, at least at my current level of proficiency with D3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any input.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 20:58:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Modify-Axis-Values-for-Letter-Grade-Category/m-p/1926649#M30202</guid>
      <dc:creator>jazfunk</dc:creator>
      <dc:date>2021-06-28T20:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Axis Values for Letter Grade Category</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Modify-Axis-Values-for-Letter-Grade-Category/m-p/1932492#M30267</link>
      <description>&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 07:33:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Modify-Axis-Values-for-Letter-Grade-Category/m-p/1932492#M30267</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-07-01T07:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Axis Values for Letter Grade Category</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Modify-Axis-Values-for-Letter-Grade-Category/m-p/1933280#M30281</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/182446"&gt;@V-lianl-msft&lt;/a&gt;&amp;nbsp;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to capture the axis right before it was drawn.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This screenshot shows the area in the&amp;nbsp;&lt;SPAN&gt;setUpBulletsHorizontally&lt;/SPAN&gt;&lt;SPAN&gt;() 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.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;*Note:&amp;nbsp; The "resultValue" property is a custom property I added to the BulletChartModel BarData interface.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Worked like a charm!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jazfunk_0-1625145734250.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/544943i1B362564AE37AE5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jazfunk_0-1625145734250.png" alt="jazfunk_0-1625145734250.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Jul 2021 13:25:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Modify-Axis-Values-for-Letter-Grade-Category/m-p/1933280#M30281</guid>
      <dc:creator>jazfunk</dc:creator>
      <dc:date>2021-07-01T13:25:34Z</dc:date>
    </item>
  </channel>
</rss>

