Flex Mobile Charts -- Less Than Symbol in Axis labels

Hi,
   I am creating a Mobile Project and want to display a column chart. My problem is I want to display "<" in  Axis label of charts.But somehow its not working.I have tried using "&lt;" and is working fine in Web and Desktop project.But somehow it is not working in Flex mobile project. I have attached the source code for the same please help me to resolve this issue.
Thanks & Regards
    Vishal Lad

No attachment option found so pasting my mobile project code.I am doing same thing in Web and destop project this is working fine.But for mobile project somehow I am getting blank label.
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView" xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var expenses:ArrayCollection = new ArrayCollection([
{Month:"&lt;200", Profit:2000, Expenses:1500},
{Month:"200-400", Profit:1000, Expenses:200},
{Month:">400", Profit:1500, Expenses:500}
]]>
</fx:Script>
<mx:ColumnChart id="myChart" dataProvider="{expenses}" showDataTips="true">
<mx:horizontalAxis>
<mx:CategoryAxis
dataProvider="{expenses}"
categoryField="Month"
/>
</mx:horizontalAxis>
<mx:series>
<mx:ColumnSeries
xField="Month"
yField="Profit"
displayName="Profit"
/>
<mx:ColumnSeries
xField="Month"
yField="Expenses"
displayName="Expenses"
/>
</mx:series>
</mx:ColumnChart>
</s:View>

Similar Messages

  • JCA Adapter Less than Symbol in OSB 11.1.1.5

    Hey everyone,
    When trying to create a Business Service based off of a JCA Adapter created in JDeveloper for a custom query database call, I am having issues if the query has the less than symbol in it.
    When generating the service, it gives me the following error:
    WSDL and Service Resources can not be generated at this time, please try again.
    Reason: error: Unexpected character encountered (lex state 9):
    The less than symbol is properly escaped as & l t ;
    Im using 11.1.15
    Replace & with $amp; is not working...

    When generating the service, it gives me the following errorWhat do you mean by "generating the service"? Where do you see the error? OEPE? Is that compilation time, deployment time or run time?
    Database data should be escaped finely... Can you give us more details about your case?
    Cheers,
    Vlad

  • Less Than Symbol ( )

    Hi All,
      I want a  less than ( < ) symbol to be displayed .....
    When I give "&gt;" , I get a greater than symbol (>)..... But when I give "&lt;" , i get a blank value
    Thanks

    <mx:.................    dataProvider="&lt;">

  • Flex mobile charting issue

    I tried to create column chart using the data model from the previous view, I used var object to transfer the data but the chart does not work. Help PLEASEEEEEE  and if you have tips for passing data to a view please.
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      backgroundColor="#adacac" title="ColumnChart"
      xmlns:charts="mx.charts.*"
      xmlns:series="mx.charts.series.*"
      xmlns:Legend="mx.Legend.*">
    <fx:Declarations>
    </fx:Declarations> 
    <fx:Script>
      <![CDATA[
                import mx.charts.ColumnChart;
       import mx.collections.*;
       [Bindable]
       public var myAC:ArrayCollection = new ArrayCollection([
        {Month:"January", Profit:30},
        {Month:"February", Profit:50},
        {Month:"March", Profit:70},
        {Month:"April", Profit:90}
       private function setTitles():void {
        la1.title="{data.Yaxis}";
       private function updateChart ():void {
        myAC.getItemAt(0).litres = Number("{data.Ydata1}");
        myAC.getItemAt(1).litres = Number("{data.Ydata2}");
        myAC.getItemAt(2).litres = Number("{data.Ydata3}");
        myAC.getItemAt(3).litres = Number("{data.Ydata4}");
        myAC.getItemAt(0).Month =("{data.Xdata1}");
        myAC.getItemAt(1).Month =("{data Xdata2}");
        myAC.getItemAt(2).Month =("{data Xdata3}");
        myAC.getItemAt(3).Month =("{data Xdata4}");
      ]]>
    </fx:Script>
    <s:Panel title="{data.TitleText}" x="28" y="59" width="265" height="273" >
         <charts:ColumnChart id="myChart" x="10" y="14" width="244" height="216" dataProvider="{myAC}"
             showDataTips="true" type="clustered">
          <charts:horizontalAxis>
           <charts:CategoryAxis title="{data.Xaxis}" categoryField="Month" dataProvider="{myAC}" />
          </charts:horizontalAxis>
          <charts:verticalAxis>
           <charts:LinearAxis id="la1"/>
            </charts:verticalAxis>
               <charts:series>
           <series:ColumnSeries dataProvider="{myAC}" yField="Profit" xField="Month" displayName="{data.label}" />
               </charts:series>
         </charts:ColumnChart>
      <charts:Legend x="174" y="26" width="29" height="30" dataProvider="{myChart}"/>
      </s:Panel>
    </s:View>

    Mobile charting should support animations just like on desktop.
    You should be able to Google for Flex chart animation tutorials, for example: http://blog.flexexamples.com/2007/10/15/using-data-effects-to-animate-chart-data/

  • Problems using ' ' (less than) symbol in JavaScript

    Using JSC EA 2 and I can't use the less than operator '<' in JavaScript.
    When I use an expression such as
    if( a < 10 )
    I get an error saying
    "The content of the elelments must contain well-formed character data or markup"
    However, if i change that to
    if( 10 > a )
    I have get no error and everything works fine.
    Anyone else experience this "feature"

    Hi,
    Use the following code clip (withing opening & closing ) wherever you want to use JavaScript in JSC.<script language="JavaScript" type="text/javascript"><![CDATA[
    // Drag onto the JSP Source -- usually within the <head> tag
    // Your JavaScript code goes here, for example
    function postMessage(message) {
    alert(message)
    ]]></script>
    You can create a code clip on JSC palette for later use.

  • Less than symbol,   shows as XML value &lt ; in translate table drop down

    We are upgrading from 8.19 to 8.49. We have set up a field that has translate values of <, <=, >, >=, <> and =. We use this field as a drop down on a page and they should display as shown. For some reason, when you click the drop down, any of the choices containing the < symbol are replaced with '&lt ;. The other symbols seem to display normally. Instead of < we get "&lt ;" . Instead of <=, we get "&lt ;=" .
    Expected values in XLATITEM drop down:
    <
    <=
    <>
    =
    >
    =Actual values received in drop down:
    &lt ;
    &lt ;=
    &lt ;>
    =
    >
    =In version 8.22, the symbols showed up correctly. Anyone have any ideas?
    Thanks very much!

    Yes - we tried deleting all of the values and recreating them. If we delete the < symbol, the rest show up fine, which is strange. We've cleared cache on web server, app server and pc and that didn't help either. Any other thoughts?
    I appreciate your help!

  • How do you get to greater than, less than symbols ( , )

    Trying to find these symbols on keyboard. Anybody know if they are available?
    Ken

    If using the Samsung keyboard:  press Sym, then press 1/2
    If using the Swype keyboard:  press 123 (in lower left-hand corner), then press the shift key (looks like a 1 in a box next to a 2, it's just above the Swype key)

  • How to remove less-than symbols in email

    when I have email strings, I get something like the following:
    "On 8/27/2014 9:17 AM, John Bain wrote:> I am trying this new format out to see if it works better and is easier
    >
    > On 8/27/2014 9:16 AM, John Bain wrote:
    >> I am trying this new format out to see if it works better and is easier
    >>
    >> On 8/27/2014 9:15 AM, John Bain wrote:
    >>>
    >>> I am trying this new format out to see if it works better and is easier
    >>> On 8/27/2014 9:14 AM, John Bain wrote:
    >>>> Ask your question to our community of users
    >>>>
    >>>> On 8/27/2014 9:01 AM, John Bain wrote:
    >>>>>
    >>>>> I am trying this new format out to see if it works better and is
    >>>>> easier"
    Is there a way to remove those ">>>" marks?

    What would you use in their place to separate the different postings and retain the Q&A context?
    You can remove them. This add-on offers this capability:
    https://nic-nac-project.org/~kaosmos/quoteandcomposemanager-en.html

  • How do I get more than 10 Y axis chart labels on a line chart

    I cannot find a way to get more than 10 y axis labels on a line chart. In AppleWorks you set your step size so a size of "10" which in my case equates to labels of 10, 20, 30, ..., 80, 90 and so on up to the MAX value. I would often have 20 or more labels. In iWork the size is the number of labels and the maximum size (number of labels) I can display is 10. With a min value of 30 and a max value of 330 each label jumps 30 points which doesn't give the resolution I need to see...and....when showing the data point values on the page in iWork they overlap each other and are unreadable even when stretched out on legal paper.

    What I am calling the X axis (horizontal) you are calling the Y axis. I need more than 10 labels on the vertical axis. Space for text is not a problem. I already have done exactly what you suggest for the horizontal axis. What I need is to get 30 value labels on the vertical axis (You show 5 in your example) along with the many more than 10 I have on the horizontal axis. The 10 through 300 value labels run vertically, and roughly 90 data points, one per day covering 3 months runs horizontally with a date label every 7 days. This graph represents values recorded daily at the same time each day.

  • Break for Horizontal Axis Labels in OBIEE 11g Bar Chart

    Hi all,
    I have a vertical bar chart created in OBIEE 11g. The horizontal axis (x-axis) is a compound of Scenario, Year, and Month. The chart width is already long enough so it cannot be made any longer.
    The chart looks like this (the label of horizontal axis is staggered):
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    Actual Feb 2012____________Actual Apr 2012
    ___________Actual Mar 2012_____________Actual May 2012
    How can I force the labels for the horizontal axis to be broken into 2 lines (or even 3 lines), so that it will look like this:
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    ___llllllllllllll_________llllllllllllll_________llllllllllllll_________llllllllllllll
    ___Actual________Actual________Actual________Actual
    __Feb 2012_____Mar 2012_____Apr 2012______May 2012
    Any advice? Thanks a lot!

    Hi Stewart,
    I could not try this yet, but how about 'Enabling the Contains HTML Markup' for the columns for Heading and including a '</br>' tag at the end of the name.
    Ex: Column - >Properties -> column Format -> Column Heading -> Enable Contains HTML Markup -> Column Heading's suffix =less than symbol /br greater than symbol (Oracle forums is even break the line too!! ;) So included the text)
    Hope this helps.
    Thank you,
    Dhar
    Edited by: Dhar on 15-May-2012 20:11
    Edited by: Dhar on 15-May-2012 20:12

  • I have a manual that contains headings and index entries that contain less than and greater than characters, and . The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the C

    I have a manual that contains headings and index entries that contain less than and greater than characters, < and >. The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the Contents or the Index of the generated HTML. In the Contents the words are completely missing and in the index entries the '\' characters that are required in the markers remain in the entry but the leading less than symbol and the first character of the word is deleted; hence what should appear as <dataseries> appears as \ataseries\>. I believe this is a FMv12 bug. Has anyone else experienced this? Is the FM team aware and working on a fix. Any suggestions for a workaround?

    The Index issue is more complicated since in order to get the < and > into the index requires the entry itself to be escaped. So, in order to index '<x2settings>' you have to key '\<x2settings\>'. Looking at the generated index entry in the .js file we see '<key name=\"\\2settings\\&gt;\">. This is a bit of a mess and produces an index entry of '\2settings\>'. This ought to be '<key name=\"&amp;lt;x2settings&amp;gt;\" >'. I have tested this fix and it works - but the worst of it is that the first character of the index entry has been stripped out. Consequently I cannot fix this with a few global changes - and I have a lot of index entries of this type. I'm looking forward to a response to this since I cannot publish this document in its current state.  

  • Issues with less than and grater than condition in prompts in OBIEE 11g,

    Hi all,
    i am facing the prombles with less than grater than conditions in OBIEE 11g.
    i created two date prompts with presentation variables datefrom and dateto
    and i used these prompts in fileters like this using grater than and less than symbol.
    filters are as below:
    lastupdated date is grater than or equal to @{datefrom}{1/1/1950}
    lastupdated date is less than or equal to @{dateto){1/1/1950}
    and created two prompts
    creation datefrom >=
    creation dateto<=
    when i passing the dates 05/12/2004 and 05/12/2005 in prompts after clicking the apply button in OBIEE 11g it feches all the records but i need records between these dates. and one more thing is after clicking apply button the two date fields getting the same date..
    am i do any thing wrong in the above ???
    please let me know friends..
    waiting for ur replyyyyyy..
    Thanks
    Edited by: BI_user on Oct 12, 2011 2:10 AM

    Hi,
    Create date prompts with operator as = not >= (or) <= as you need to save that value in presentation variable and you are filtering report using those variable filters.
    Regards,
    Srikanth

  • Display Column Chart Y Axis Labels in Kilo(K), Million(M)...

    Hi Folks,
    I would like to display the Y-axis labels of a column chart in Kilo, Millions etc. I used the below mentioned formula in excel for that set of data. Here is the formula [>=1000000]0,,"M";[>=1000]0,"K";0
    Though in embedded excel it displays the values as desired, when I assign them to the column chart in Xcelsius the Y axis labels are not as expected. For Kilo it works fine but when it comes to millions it is not displaying accordingly. Any help is appreciated.
    Thanks,
    Sukumar

    Hi Sukumar,
           If You want to display the Y Axis Labels like Kilo(k),Million(M),Billions(B)...etc.Do the following things ,
            goto column chart properties->behaviour->scale in that Enable the Fixed Label size checkbox.
    Regards,
    Ramana

  • Horizontal axis Labels in tabular style

    I have a weird requirement. I want to draw the horizontal axis of a  column chart in a tabular style, like a table with one row. each label  will become one cell. I am trying to tweek it out, since I can see  labelRenderer of AxisRenderer is the only way for that. I had a small lead, when I used opaquebackground to give the backgound color. But since am using label renderer for formatting the labels, the opage background is painting in too much thickness. please give any  input if anyone have any other lead.

    Hi Stewart,
    I could not try this yet, but how about 'Enabling the Contains HTML Markup' for the columns for Heading and including a '</br>' tag at the end of the name.
    Ex: Column - >Properties -> column Format -> Column Heading -> Enable Contains HTML Markup -> Column Heading's suffix =less than symbol /br greater than symbol (Oracle forums is even break the line too!! ;) So included the text)
    Hope this helps.
    Thank you,
    Dhar
    Edited by: Dhar on 15-May-2012 20:11
    Edited by: Dhar on 15-May-2012 20:12

  • In Turkish QWERTY Keyboard you can type less then symbol " " but you can type greater than symbol  by using shift , why ??

    In Turkish QWERTY Keyboard you can type less then symbol "< " but you can type greater than symbol  by using shift <, why ??

    In Turkish QWERTY Keyboard you can type less then symbol "< " but you can type greater than symbol  by using shift <, why ??

Maybe you are looking for

  • MacBookPro5,4 and LG Scarlet 2 32" (LH70) via MiniDisplayPort to HDMI

    Hi everybody, I bought a MiniDisplayPort to DVI Adapter last month, today I decided to use it with my room TV (LG Scarlet 2, 32"). When connected my MBP to the TV the image Quality isn't good, i tried to change the color profile of the TV (In the Dis

  • Problem with Leopard re-install

    I have a G5   (10.5.8) that was running slowly.  I've done very little to is for 6.5 years but use it.  I tried various clean-up utilities...but still slow.  So, I decided to re-install the Leopard OS and start fresh. I selected the option to save th

  • File To Long

    Hi I have created a table like CREATE TABLE TEMP (     "ATTACHMENT" LONG,      "SEQ_NO" NUMBER I want to upload data from a file to the long column as we do for blob and clob. how can i do it using stored procedure?? Thanks in advance, Balaji TK

  • Is Adobe Photoshop CC the same as Adobe Photoshop CS+?

    I will be starting an online website and need a program which gives me the ability to modify photos such as remove backgrounds, move sections of the picture around, add aspects of the picture to other pictures etc. You could say just the flexibility

  • RF guns had a error message

    Hi Guys Whenever RF guns had a error message (e: verrouillage OT) as the users wanted to scan the TOs numbers. we must login in SAP individually with every user id in order to interrupt (Kill) the opened Session on the scanner(RF Gun) Then one could