<?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: Labels Rotation on Line Chart Axis in a Widget in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515661#M14397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for your code snippets. Unfortunately I am working with Flex Builder 3 and am unable to get your code to work correctly. Please let me know (if you have time) how to get these labels rotated in FB3 with the 1.x Flex Viewer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. did they ever get the MVP stuff worked out? I think I owe you a couple bumps&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2011 15:33:49 GMT</pubDate>
    <dc:creator>DanielSmith</dc:creator>
    <dc:date>2011-03-22T15:33:49Z</dc:date>
    <item>
      <title>Labels Rotation on Line Chart Axis in a Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515653#M14389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to rotate axis labels on a line chart by embedding a font. Font color and size gets implemented but labels do not get rotated. Attached is part of the code that shows embedding the font and using it on AxisRenderer line using styleName. I am creating the line chart in s:TitleWindow environment. However, the labels get rotated if I use the same code in s:Applicaion environment. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know if there is something in the Flexviewer's css that prohibits rotating labels? Or if you know how it should work, please respond. Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nadeem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 16:30:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515653#M14389</guid>
      <dc:creator>NadeemShaukat</dc:creator>
      <dc:date>2011-01-12T16:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Labels Rotation on Line Chart Axis in a Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515654#M14390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you try example at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://blog.flexexamples.com/2007/10/15/rotating-labels-in-a-flex-chart-axis-using-the-labelrotation-style/"&gt;http://blog.flexexamples.com/2007/10/15/rotating-labels-in-a-flex-chart-axis-using-the-labelrotation-style/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Seem like removing canDropLabels=true from your source code will do the trick.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mehul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 17:36:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515654#M14390</guid>
      <dc:creator>MehulChoksey</dc:creator>
      <dc:date>2011-01-25T17:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Labels Rotation on Line Chart Axis in a Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515655#M14391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mehul&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am already using canDropLabels=true on the AxisRenderer line, but it makes no difference. As I have mentioned in my initial post that label rotation works fine in a standalone application, but is not working in a TitleWindow file in Flex Viewer's widgets environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nadeem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 19:30:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515655#M14391</guid>
      <dc:creator>NadeemShaukat</dc:creator>
      <dc:date>2011-01-25T19:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Labels Rotation on Line Chart Axis in a Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515656#M14392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nadeem,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If I remember correctly you have to embed the font in the index.mxml also. Just like you are doing in the widget.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jan 2011 20:23:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515656#M14392</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-01-25T20:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Labels Rotation on Line Chart Axis in a Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515657#M14393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mehul,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The index.mxml calls the defaults.css file. I had tried to embed fonts in the defaults.css.&amp;nbsp; The font color and size takes into effect but not the rotation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nadeem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 01:40:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515657#M14393</guid>
      <dc:creator>NadeemShaukat</dc:creator>
      <dc:date>2011-01-26T01:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Labels Rotation on Line Chart Axis in a Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515658#M14394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;any more thoughts on this? I have been fighting the label rotation on a column chart for what seems like forever. I have embedded my fonts but when i&amp;nbsp; use the font (via a style or otherwise) the labels disappears even though the same code works in a small sample. fonts have been embedded in the index.xml and the widget itself. It appears that i can see little artifact boxes where the labels go but no text.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 20:09:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515658#M14394</guid>
      <dc:creator>DanielSmith</dc:creator>
      <dc:date>2011-03-21T20:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Labels Rotation on Line Chart Axis in a Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515659#M14395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems like an adobe issue: &lt;/SPAN&gt;&lt;A href="http://bugs.adobe.com/jira/browse/FLEXDMV-1599"&gt;http://bugs.adobe.com/jira/browse/FLEXDMV-1599&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully, Adobe fixes this if you vote for it...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 22:27:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515659#M14395</guid>
      <dc:creator>MehulChoksey</dc:creator>
      <dc:date>2011-03-21T22:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Labels Rotation on Line Chart Axis in a Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515660#M14396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; As I said earlier the answer is still simple just embed the font in the default application (i.e. index.mxml)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code for ChartWidget:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; &amp;lt;fx:Style&amp;gt; 
&amp;nbsp; @namespace mx "library://ns.adobe.com/flex/mx"; 
&amp;nbsp; @font-face{
&amp;nbsp;&amp;nbsp; src: url("assets/arial.ttf");
&amp;nbsp;&amp;nbsp; fontFamily: myFontFamily;
&amp;nbsp;&amp;nbsp; embedAsCFF: false;
&amp;nbsp; }
&amp;nbsp; mx|ColumnChart {
&amp;nbsp;&amp;nbsp; fontFamily: myFontFamily;
&amp;nbsp;&amp;nbsp; fontSize: 16;
&amp;nbsp; }
 &amp;lt;/fx:Style&amp;gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:horizontalAxisRenderers&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:AxisRenderer axis="{myXAxis}" labelRotation="45"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/mx:horizontalAxisRenderers&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code for index.mxml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; &amp;lt;fx:Style&amp;gt; 
&amp;nbsp; @font-face{
&amp;nbsp;&amp;nbsp; src: url("assets/arial.ttf");
&amp;nbsp;&amp;nbsp; fontFamily: myFontFamily;
&amp;nbsp;&amp;nbsp; embedAsCFF: false;
&amp;nbsp; }
 &amp;lt;/fx:Style&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:31:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515660#M14396</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T22:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Labels Rotation on Line Chart Axis in a Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515661#M14397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for your code snippets. Unfortunately I am working with Flex Builder 3 and am unable to get your code to work correctly. Please let me know (if you have time) how to get these labels rotated in FB3 with the 1.x Flex Viewer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. did they ever get the MVP stuff worked out? I think I owe you a couple bumps&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 15:33:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515661#M14397</guid>
      <dc:creator>DanielSmith</dc:creator>
      <dc:date>2011-03-22T15:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Labels Rotation on Line Chart Axis in a Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515662#M14398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have referred to this post to rotate my Chart Lables. I can get the Labels rotated on the Chart, but i am having a problem in getting the font for the horizontal lables&amp;nbsp; to display correctly with the right font size.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone experienced this problem before?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I&amp;nbsp; have attached my Chart Renderder Code together with the Image of the result chart to see what i get,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Oct 2012 01:32:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/labels-rotation-on-line-chart-axis-in-a-widget/m-p/515662#M14398</guid>
      <dc:creator>MGSethe</dc:creator>
      <dc:date>2012-10-27T01:32:34Z</dc:date>
    </item>
  </channel>
</rss>

