Show labels in BarChart issue

i have created a BarChart with 5 series... but i m not able
to create the data labels for each series and each day...
like for Monday and first series i have to show low and high
indexes, so at the end of first series(6.3) i have to show 17 &
43 and at 1.7 we have to show 18 & 44 ....for each series and
day, the low and high values will be different for each series and
day.....
low and high indexes data is in indexDataMonday variable
which is for Monday... so in the same way we will have for
different days

Thx for the reply Nikos101!
how we will include indexDataMonday in TariffData...as you
see in indexDataMonday time is 6.3(which is
a in TariffData) for Monday
so in this row { Day: "Monday", a: 6.3, b:1.7, c: 9, d: 1.3,
e: 5.7 } how we will add
{ Day: "Monday", low: 23, high:46, time:1.3 },
{ Day: "Monday", low: 23, high:44, time:9 },
{ Day: "Monday", low: 18, high:44, time:1.7 },
{ Day: "Monday", low: 17, high:43, time:6.3 }
or pls suggest me a way to add it...or can we create Dynamic
Label for each series and in that we will show low & high
values for each day and each series...pls help me on this...

Similar Messages

  • I want to show labels having images one by one in Panel

    i want to show labels having images one by one in Panel through a while loop...
    I made an ImagIcon array.
    It doesn't work properly.
    It shows only first image while the variable is incrementing. :(
    This is my code...(Plz check it....)
    import java.awt.*;
    import javax.swing.*;
    public class test extends JFrame
    ImageIcon imgIco = new ImageIcon("mylogo.jpg");
    ImageIcon imgIco1 = new ImageIcon("mylogo1.jpg");
    ImageIcon imgIco2 = new ImageIcon("mylogo2.jpg");
    ImageIcon imgIco3 = new ImageIcon("mylogo3.gif");
    ImageIcon imgIco4 = new ImageIcon("mylogo4.gif");
    ImageIcon[] a = {imgIco,imgIco1,imgIco2,imgIco3,imgIco4};
    JButton b1 = new JButton("Add");          
    JLabel l1;
    JPanel p1 = new JPanel();
    public test(String title)
    super(title);
    int s = 0;
    while(s<=4)          
         try
              Thread.sleep(100);
              System.out.println(s);
              l1 = new JLabel(a[s]);
              repaint();
         /*if(s==1)
              p1.remove(l1);     
         catch(Exception e)
         System.out.println("Error Occured!!!");
         p1.add(l1);     
    System.out.println(s);
    s++;                              
         setContentPane(p1);          
    public static void main(String args[])     
         test t = new test("Title");
         t.setSize(900,470);
    t.setVisible(true);
    t.setResizable(false);

    You are sleeping the thread used to perform the repaint.
    Calling repaint only marks a component as needing painting, and AWT will paint it later. If you continue to loop in the mainthread then you will not see the changes.
    You have to move your loop to another thread.

  • HideShow: Column does not show label

    I have one hideShow region inside table, but it does not show label in column.
    Someone know help me?
    See the printscreen: http://www.flickr.com/photos/30358105@N03/3180588230/

    Hi,
    Under the “Identification” tab, there is a characteristic 0PSTNG_DATE. The corresponding 4th column is for Cube1, but Cube2 contains the posting date we are reporting on through the multiprovider. The third column  (“Equal To”) is NOT checked for Cube2.
    Could that be the problem? What is the significance of this checkbox not being checked for Cube2.
    On the other hand, I see 0PSTNG_DATE also under the fifth column (Char/NavAttrib), but the corresponding Cube3 and it is checked under “Equal To”
    Characteristic---Long_Description-Equal_To-In_InfoProvider-Char/NavAttrib
    0PSTNG_DATEposting dateCube1--
    Cube1
    Cube2               
    Cube2
    checked---Cube3--
    0PSTNG_DATE
    Cube3
    0FISCPER3-----Posting period---checked----Cube1             
    checked----Cube2               
    checked----Cube3               
    Checked----Cube4
    I hope the above info can from the Identification tab guide help?
    Can you help interpret these columns and the significance of the fact that there is no “checked” under “Equal To” for the Cube2 which is what actually feeds the column, TargetColumn (i.e the column which does not get populated with date when the Posting Date filed is set.
    Thanks.

  • Showing more than 10 Issues in Test Manager tree view

    I know the table shows them all, but is there a way to show more than 10 Issues in OTM Tree View? Seems cumbersome to keep having to click >>Next and <<Previous for each set of 10.

    Hi
    In OTM you can go to tools -> Options ->select Tree Preferences and edit Maximum Number of Displayed Nodes:
    Hope this helps.
    Alex

  • Show label and terminal as default?

    Hi,
    When using one of my SubVIs in a parent VI, I would like to have "show
    label" and "show terminal" enabled by default. Can I set "something" in the
    SubVI's "Setup VI..." dialog to get that result?
    Thanks,
    Michael

    To show label check Preferences/Block Diagram/Show subVI name when dropped.
    There is no option to show terminals.
    Jean-Pierre Drolet
    Michael Vetsch a écrit dans le message :
    8mrdnj$p5a$[email protected]..
    > Hi,
    >
    > When using one of my SubVIs in a parent VI, I would like to have "show
    > label" and "show terminal" enabled by default. Can I set "something" in
    the
    > SubVI's "Setup VI..." dialog to get that result?
    >
    > Thanks,
    >
    > Michael
    >
    >

  • My trash can shows empty and other issues with it...

    Ok basically, if i delete anything on my mac it should go to my trash can right?
    Well i have a few problems with that as follows:
    1. Everytime i delete something or move something to the trash it asks me to enter my password everytime, then deletes it, this never used to happen and now all of a sudden it does, this started just before the latest lion update and ive tried everything i know to stop it doing it but failed.
    2. When i do delete something, the trash can shows empty on my desktop, and when i open the trash there is nothing inside, so im not able to restore anything if required, so basically if i move anything to trash it just gets permanently deleted instead of storing it in trash first, again this started just before the latest lion update.
    I was hoping the update would fix this issue but didnt change it what so ever, i have also tried repairing disk permissions and still no change.
    Any ideas on what i can do to fix these problems? Im still new to mac so i dont know all the ins and outs, but any help on this would be appreciated.
    Cheers all,
    Carl

    Boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select  ▹ Restart from the menu bar.

  • Stacked BarChart issue

    Hi there,
    I'm having a kind of "random issue" going with my Flex app.
    I've got a component with a BarChart in it, that has two stacked
    series, that represent assets/debt from a bank account.
    Sometimes, a Serie doesn't display, having the space reserved
    for it, but not showing. The behaviour just happens from time to
    time, and can't specify the circumstancies. I attach these two
    links to captures of the component for a better understanding...
    (two different executions of the same code).
    - BarChart displayed correctly
    here
    - BarChart displayed wrong
    here
    The code is nothing strange... basically:
    <mx:SeriesInterpolate id="interpol" duration="1000"/>
    <mx:Stroke id="st" weight="1" color="0xEEEEEEEE"
    alpha=".6" caps="square"/>
    <mx:Stroke id="axis" weight="1"/>
    <mx:Stroke id="callouts" weight="2" color="0x999999"
    alpha=".8" caps="square"/>
    <mx:HBox width="100%" horizontalScrollPolicy="auto"
    verticalScrollPolicy="off" id="monthChartBox"
    horizontalAlign="center" paddingTop="-15" paddingBottom="-15">
    <mx:BarChart id="theChart" paddingLeft="-4" width="100%"
    height="100" type="stacked" showDataTips="false"
    dataProvider="{Model.getInstance().graphObject}"
    mouseEnabled="false">
    <mx:series>
    <mx:BarSeries id="assetsSeries" xField="assets"
    stroke="{st}" showDataEffect="{interpol}" width="100%">
    </mx:BarSeries>
    <mx:BarSeries id="debtSeries" xField="debt" stroke="{st}"
    showDataEffect="{interpol}" width="100%">
    </mx:BarSeries>
    </mx:series>
    <mx:verticalAxis>
    <mx:CategoryAxis title="" id="vax"/>
    </mx:verticalAxis>
    <mx:horizontalAxis>
    <mx:LinearAxis id="hax"
    maximum="{Model.getInstance().maxGraphValue}"/>
    </mx:horizontalAxis>
    <mx:backgroundElements>
    <mx:GridLines visible="false">
    </mx:GridLines>
    </mx:backgroundElements>
    <mx:horizontalAxisRenderers>
    <mx:AxisRenderer axis="{hax}" width="0" height="0"
    visible="false" showLabels="false" axisStroke="{axis}" />
    </mx:horizontalAxisRenderers>
    <mx:verticalAxisRenderers>
    <mx:AxisRenderer axis="{vax}" width="0" height="0"
    visible="false" showLabels="false" axisStroke="{axis}"/>
    </mx:verticalAxisRenderers>
    </mx:BarChart>
    </mx:HBox>
    I'm not sure, but I've got the impression that if I remove
    the interpolation show data effect I don't get the problem. Makes
    sense to anyone?
    thanks,
    Marc

    If I put it like this In WHEN-NEW-FORM-INSTANCE trigger check the PROFILE CODE and display the stacked canvas based on the value in PROFILE CODE---
    Then content canvas will be shown first(Page1) ,then user will select profile code, depending upon the profile code selected ,either page2 (stacked canvas) or page3(stacked canvas) will be shown.
    But I want whenever user opening the form ,page1 & page2 should show by default.then user will select profile code.if profile code is for page2 ,it should stay in that (default) page only.If profile code is for page3 then it will automatically go to page3 along with page1.

  • How to show returned components on Issue for Production on a query.

    Hi Guru's,
         Is there a way to show the items that have been returned (Return Components) on Issue for Production using a query?
    Thanks and Regards,
    Christian

    Hi,
    1. Create row level UDF for issue from production order.
    2. Assign below FMS to this UDF and set it auto refresh based on quantity.
    SELECT T0.[Quantity] FROM IGN1 T0 WHERE T0.[BaseRef]  = $[$13.61.number] and  T0.[ItemCode]  = $[$13.1.0]
    Thanks & Regards,
    Nagarajan

  • MV11gPr1 - some FOI themes do not show labels

    Hi,
    style definition:
    <?xml version="1.0" ?>
    <AdvancedStyle>
    <BarChartStyle width="70" height="70" share_scale="true" min_value="0.0" max_value="455.0">
    <Bar name="porastova poda" color="#00CC00"/>
    <Bar name="holina" color="#FF0000"/>
    </BarChartStyle>
    </AdvancedStyle>
    here is the theme definition using the above style:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules key_column="ID">
    <hidden_info>
    <field column="TXKR" name="kraj"/>
    <field column="PLOCHA" name="porastová plocha"/>
    <field column="HOLINA" name="holina"/>
    </hidden_info>
    <rule column="PORAST,HOL">
    <features style="V.KR_VYMERY_BAR"> </features>
    <label column="TXKR" style="T.KR"> 1 </label>
    </rule>
    </styling_rules>
    in MapBuilder - labels are shown, but
    in Oracle Maps using foitheme.enableLabels(true) not!
    thanks,
    Branislav

    Only polygon labels can be automatically rendered by mapviewer. The demo #49 on the tutorial page shows how to display labels for points/markers.

  • Show label text in front of image always

    I have text in a label that I want to show over an image. Sometimes the text shows sometimes it is hidden by the image. Is there a way to force the text to show above the image? Thanks....

    Or do this:
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.image.*;
    import java.io.*;
    import java.net.*;
    import javax.imageio.*;
    import javax.swing.*;
    public class X {
        public static void main(String[] args) throws IOException {
            BufferedImage image = ImageIO.read(new URL("http://today.java.net/jag/Image1-large.jpeg"));
            String title = "James Gosling";
            LabelIt(image, title, new Font("Lucida Sans", Font.PLAIN, 12));
            JFrame f = new JFrame(title);
            f.getContentPane().add(new JLabel(new ImageIcon(image)));
            f.pack();
            f.setLocationRelativeTo(null);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setVisible(true);
        public static void LabelIt(BufferedImage image, String text, Font font) {
            Graphics2D g = image.createGraphics();
            Rectangle2D bounds = font.getStringBounds(text, g.getFontRenderContext());
            float x = (float)(image.getWidth() - bounds.getWidth())/2;
            float y = (float)bounds.getHeight();
            g.setColor(Color.WHITE);
            g.setFont(font);
            g.drawString(text, x, y);
            g.dispose();
    }

  • Html-code for showing cover of current issue?

    Has anyone an example of a simple html-code for showing the latest issue?
    All I need is the adress to the image-file.

    There was a problem like that in the WYSIWYG before 7.0.2 as
    described in Using RH7 on my site. However, that was local and the
    patch fixed it.
    I had a completely different problem a while back but wonder
    if the solution might work. Speak to your web guys and suggest
    this.
    Add the AddDefaultCharset utf-8 directive to either the
    Apache config or the site .htaccess file
    It's a long shot. I don't know what other effects it might
    have on your server but the web guys should.

  • "Create Action" button not show in the control issue screen

    Hi All,
    When I access update issue screen and want to assign person I cannot found "Create Action" button to do this, Why? and how do I show this button?
    Thank you.

    Check the Menu & functions used for this responsiblity, at the same time check for the personalization on this page

  • Don´t show label "Update..." when uploading a file

    Hi all,
    I have the next situation. I made a functionality to upload and stores images in the db. I use an inputFile, and a commandButton which calls a bean method like this:
    <af:gridCell marginStart="5px" marginEnd="5px" width="330px" id="gc10" inlineStyle="text-align:right;">
    <af:inputFile label="Search image" id="if1" value="#{ImageBean.file}"
    partialTriggers="cb6"/>
    </af:gridCell>
    <af:gridCell marginStart="5px" marginEnd="5px" width="100px;" id="gc8">
    <af:commandButton text="Add image" id="cb6" action="#{ImageBean.uploadImage}"
    inlineStyle="text-align:left;" disabled="false" />
    </af:gridCell>
    I do all the logic in the uploadImage method, and everything works fine (create the new row, insert the blob in that row, commit, display it on the screen, etc), but the thing is that when it returns, the inputFile shows a button "Update..." and I don´t want to show it because I already made the upload.
    I want to show the inputFile just like it was to allow adding more images.
    I'm using JDev 11.1.2.3.0.
    I appreciate if anyone can suggest something.
    Thanks.

    Hi,
    the easiest way is to set the value of ImageBean > "file" property to null so that the component does not have a value reference to the uploaded file.
    Frank

  • Explorer InfoSpaces on HANA Views - column label changes cause issues?

    Key question is – do simply label changes in HANA view cause issues with Explorer InfoSpaces?  Furthermore, on source view changes, does the InfoSpace also need to be adjusted?
    What we have observed is this
    1. InfoSpaces have been created using the “SAP HANA appliance” connection highlighted below. The corresponding “Home” screen is shown below that, so there are around 14 or so InfoSpaces that should be available.
    2. Yesterday, there was a production deployment that contained some changes to the underlying views in the form of label changes (not column name changes).
    3. Now, in the “Manage” screen we cannot see these same 14 InfoSpaces available under the expected connection. Instead, they are all available under the “Source Unavailable” node with the default action of “Change Source” shown.
    Additionally, we are seeing some strange behavior where certain facets are actually containing the wrong data. For example, in a facet/column called “Source Type”, where the expected values are “NBP or PBP”, we are seeing Material numbers like “00001112453”. This leads me to believe that there is a mapping issue under the covers.
    Thanks,
    Justin

    Our BOE Explorer is Version: 14.1.1 Build: 1072   - I’m not sure how this corresponds with your 69.01 to 74 numbers (release note numbers?).
    But it sounds identical to your description.
    One of our observations: if we change the sorting on a facet pane using the upper right sort control the values are corrected for a while, at least until we change a measure and the set of facets get updated with the miss-mapped values again.    This only occurs on some models and we haven’t been able to determine what the underlying criteria might be that aggravates the problem. 
    Thanks for your input – it helps us determine a viable path forward.
    Cheers,
    Tony

  • HTML5 fails to show labels on line graphs

    Value labels on line graphs fail to show in HTML5 and work fine in the current html version as well as in Excel.
    Repro
    Create line graph
    Right click on the marker of a series and select 'Add Label'
    Save to OneDrive
    Open it and view the regular html and then view the HMTL 5 version

    Could you clarify if this in Power View sheet or in regular excel sheet/line chart?
    Also could you clarify what you mean by regular html vs html5?
    Thanks
    Mey
    http://blogs.msdn.com/solutions

Maybe you are looking for