value of series < dvt:barGraph >

Hello

I have graphic < dvt:barGraph > that I have to show the value of the bar above it in the graph. Any solution?

< dvt:barGraph id = "barGraph1".

value = "#{bindings." ThreeDEffect BiGaugeAssignmentView.graphModel}' = 'true '.

animationOnDataChange = "activeData.

animationIndicators = "ALL".

animationOnDisplay = 'auto '.

dynamicResize = "DYNAMIC_SIZE".

inlineStyle="width:100.0%; »

>

< dvt:background >

< dvt:specialEffects / >

< / dvt:background >

< dvt:graphPlotArea / >

< dvt:seriesSet >

< dvt:series >

< dvt:specialEffects id = "specialEffects1" / >

< / dvt:series >

< / dvt:seriesSet >

< dvt:o1Axis / >

< dvt:y1Axis / >

< dvt:legendArea automaticPlacement = "AP_NEVER" / >

< / dvt:barGraph >

Made by property

Tags: Java

Similar Questions

  • ADF bargraph showing values of the ToolTip in decimals instead of integer

    Hello

    I use a bar graph to show the value of sold rooms (which shouldn't be in the decimal format) and when I hover over the bar chart values are displayed in decimal instead of the number. I use the dvt:numberFormat on the value of y axis to make the decimal digit to zero, but the value of the ToolTip always displayed in decimal form. Can anyone give any suggestions pls?

    < dvt:barGraph id = "barGraph1".
    value = "#{bindings." CMSHotelStatisticsGraph.graphModel}.
    Subtype = "BAR_VERT_CLUST".
    dynamicResize = "DYNAMIC_SIZE".
    shortDesc = "#{rsvstatisticsBundle.DAILY_HOTEL_SUMMARY} '"
    threeDEffect = "true" animationOnDataChange = "ON".
    animationOnDisplay = 'AUTO '.
    markerTooltipTemplate = "" sold rooms: Y_VALUE NEW_LINE ' "
    animationDuration = "500" >
    < dvt:background >
    < dvt:specialEffects / >
    < / dvt:background >
    < dvt:graphPlotArea / >
    < dvt:seriesSet >
    < dvt:series >
    < dvt:specialEffects id = "se1" fillType = "FT_GRADIENT" / >
    < / dvt:series >
    < / dvt:seriesSet >
    < dvt:o1Axis / >
    < dvt:y1Axis >
    < dvt:numberFormat decimalDigit = "0" / >
    < / dvt:y1Axis >
    < dvt:legendArea automaticPlacement = "AP_NEVER".
    rendered = "false" / >
    < dvt:y1Title text = "#{rsvstatisticsBundle.ROOMS_SOLD}" / >
    < / dvt:barGraph >


    Thank you

    Swathi Jonathan

    Use below tags in your component graph:








    Your page should look like the following:


    value = "#{bindings." CMSHotelStatisticsGraph.graphModel}.
    Subtype = "BAR_VERT_CLUST".
    dynamicResize = "DYNAMIC_SIZE".
    shortDesc = "#{rsvstatisticsBundle.DAILY_HOTEL_SUMMARY} '"
    threeDEffect = "true" animationOnDataChange = "ON".
    animationOnDisplay = 'AUTO '.
    markerTooltipTemplate = "" sold rooms: Y_VALUE NEW_LINE ' "
    animationDuration = "500" >






















    rendered = "false" / >

  • Carousel graphics DVT causes clipping.

    Dear all,

    Use case:
    I put a graph of deep venous thrombosis within the ADF carousel component and I thought that it is easy to do but I currently encounter some problems when it comes to the layout.

    Please see this image http://imageshack.us/photo/my-images/338/dvto.jpg

    As you can see, the graph is "clip" and does not display the entire image. According to the documentation, point carousel extends automatically to its child element.
    The carousel component itself must be stretched by the panelstretchlayout. But the project itself, you will notice that the carouselitem does not stretch her child which is in this case a graph of DVT.

    I downloaded a test project sample here for you to try http://my-dev-projects.googlecode.com/files/DVTCarousel.zip

    Not sure if there is no work around for this.

    Hoping for some DVT experts look at this please.
        <af:document id="d1">
          <af:form id="f1">
            <af:panelStretchLayout id="psl1" dimensionsFrom="children" styleClass="AFStretchWidth">
              <f:facet name="bottom"/>
              <f:facet name="center">
                <af:carousel id="c1" value="#{viewScope.SampleBean.dummyList}"
                             var="item" contentDelivery="immediate" >
                  <f:facet name="nodeStamp">
                    <af:carouselItem id="ci1" >
                      <dvt:lineGraph id="lineGraph1" subType="LINE_VERT_ABS"
                                     shortDesc="Sample"
                                     tabularData="#{viewScope.SampleBean.tabularData}"
                                     contentDelivery="immediate">
                        <dvt:graphTitle text="#{item.title}"/>
                        <dvt:background>
                          <dvt:specialEffects/>
                        </dvt:background>
                        <dvt:graphPlotArea/>
                        <dvt:seriesSet>
                          <dvt:series/>
                        </dvt:seriesSet>
                        <dvt:o1Axis/>
                        <dvt:y1Axis/>
                        <dvt:legendArea automaticPlacement="AP_NEVER"/>
                      </dvt:lineGraph>
                    </af:carouselItem>
                  </f:facet>
                </af:carousel>
              </f:facet>
              <f:facet name="start"/>
              <f:facet name="end"/>
              <f:facet name="top"/>
            </af:panelStretchLayout>
          </af:form>
        </af:document>
    Is there a solution?

    Thank you.

    JDEV 11G PS5

    You do reverse autour. You must keep the carousel in the Center facet. To move it to the top you can put another panelStretchLayout in the lower as facet:

    
    
      
      
        
          
            
              
                
                  
                  
                    
                  
                  
                  
                  
                
              
              
                
                  
                    
                      
                        
                          
                          
                            
                          
                          
                          
                            
                          
                          
                          
                          
                        
                      
                    
                  
                
              
              
              
              
            
          
        
      
    
    

    One of the problems is that the bargraph needs a display height and your test data do not reveal the height needed to display correct. I put the panelGroupLayout to scroll to get a scroll bar if the remaining space on the page is too small to display the entire chart.

    Timo

  • Jdev 12.1.3: Increase the width of a dvt:legendArea

    Hi experts,

    I have a dvt:barGraph with a dvt:legendArea I want to increase the width, for every text of series would fit in a single line, not 2 as now:

    snaggy - paste pictures!

    Any ideas?

    Thanks in advance!

    Jose.

    Yes, makes the entire series in a single line, but this isn't what the user wants.

    As I work around this problem, I replaced all the empty spaces such as "1 - idea ' to '1-idea' and now looks more pleasant:

    snaggy - paste pictures!

  • ADF DVT: Battery bar graph cannot display all the bar.

    Hi Experts,

    I am currently having a problem displaying the bar charts in my use case.

    There is inevitable instance at a point of the information provided, it can is having a party containing a very large database.

    Here is my sample code.

    In the code example below only the details with huge data is rendered in the graph. and the rest are not rendered. is this a known issue?

    screenshot: http://sdrv.ms/13DXeyn.

    I use PS6 ADF in windows7(64bit), Chome browser.

    ManagedBean. This bean contains static data for testing only. Notice how large the data in the 2nd to the smallest detail.

    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.List;
    
    import javax.faces.event.AbortProcessingException;
    
    import oracle.adf.view.faces.bi.component.graph.UIGraph;
    import oracle.adf.view.faces.bi.event.TimeSelectorEvent;
    
    public class GraphTimeAxisManagedBean {
        SimpleDateFormat stdFormat = new SimpleDateFormat("yyyy-MM-dd-HH.mm.ss");
    
        public List getTabularData() {
            ArrayList list = new ArrayList();
            try {
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"description 1", new Double(20) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"description 2", new Double(50) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-06-18-00.00.00").getTime()),"description 3", new Double(30) });
             
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"description 1", new Double(150) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"description 2", new Double(240) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-07-01-00.00.00").getTime()),"description 3", new Double(10) });
             
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"description 1", new Double(60) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-08-01-00.00.00").getTime()),"description 3", new Double(10) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"description 1", new Double(90) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"description 2", new Double(50) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-09-01-00.00.00").getTime()),"description 3", new Double(80) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"description 1", new Double(10) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"description 2", new Double(90) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-10-01-00.00.00").getTime()),"description 3", new Double(80) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"description 1", new Double(200) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"description 2", new Double(20) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-11-01-00.00.00").getTime()),"description 3", new Double(70) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"description 1", new Double(60) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2010-12-01-00.00.00").getTime()),"description 3", new Double(10) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"description 1", new Double(90) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-01-01-00.00.00").getTime()),"description 3", new Double(70) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"description 1", new Double(60) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"description 2", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-02-01-00.00.00").getTime()),"description 3", new Double(30) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"description 1", new Double(203)});
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"description 2", new Double(90)});
              list.add(new Object[] { new Date(stdFormat.parse("2011-03-01-00.00.00").getTime()),"description 3", new Double(70)});
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"description 1", new Double(75) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"description 2", new Double(86) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-04-01-00.00.00").getTime()),"description 3", new Double(99) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"description 1", new Double(60105) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"description 2", new Double(50309) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-05-01-00.00.00").getTime()),"description 3", new Double(50210) });
    
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"", new Double(0) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"description 1", new Double(80) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"description 2", new Double(77) });
              list.add(new Object[] { new Date(stdFormat.parse("2011-06-01-00.00.00").getTime()),"description 3", new Double(99) });
            } catch (ParseException e) {
            }
            return list;
        }
      }
    

    JSFF (user interface Page).

    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:dvt="http://xmlns.oracle.com/dss/adf/faces"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:panelGroupLayout id="pgl1">
        <dvt:graph id="barGraph1" graphType="BAR_VERT_STACK" shortDesc="testing"
                   inlineStyle="width:800px; height:300px;"
                   tabularData="#{pageFlowScope.GraphTimeAxisManagedBean.tabularData}">
          <dvt:background>
            <dvt:specialEffects/>
          </dvt:background>
          <dvt:graphPlotArea/>
          <dvt:seriesSet>
            <dvt:series/>
          </dvt:seriesSet>
          <dvt:o1Axis/>
          <dvt:y1Axis/>
          <dvt:legendArea automaticPlacement="AP_NEVER"/>
        </dvt:graph>
      </af:panelGroupLayout>
    </jsp:root>
    

    Thank you

    Achi

    Achi,

    This isn't a problem with the graphics as such, but the issue of data. Since the value of the data that is displayed is huge and other data are relatively very low to occupy the chart area (Ex: 60105 Vs 10).

    You can try application zoomListener or zoomScrollListener for the graph to zoom in and see the small data.
    & lt; DVT:graph & gt;

    Arun-

  • Free upgrade to Windows 7 to Value Line g550

    Hello.

    I have a problem on the order Windows 7 for my new Lenovo laptop G550 series 3000. In the order page, I can't choose 3000 / Value Line series, only idea series and Think. Which should I choose?

    has chosen the IDEAPAD SERIES

  • Graphic Dynamic_size will not occupy any space on showDetailItem without 'help '.

    Hello everyone, how are you? I use JDeveloper 12.1.2.0.0.

    I find it very difficult to do my dvt:barGraph developed to complete my showDetailedItem, which is in a panelSplitter.

    I am able to do the dvt:barGraph to develop, but firstly, I full-screen browser and then do to normal, so it will refresh and update the dimensions.

    After that I do it with the browser (F11 twice), this figure shows already the dimensions correctly but only after I do this.

    Here is the code:

    Do you have an idea how do the graph to calculate the appropriate loading dimensions?

    Kind regards

    Frederico.

    PS - I've removed some fields because of the: content blocked due to spam.

    Even if maybe it's a bug with the selection and use of components, you can still use dynamic sizing, but I prefer the component with a specific height and width style, then you can always be sure that the graph will have this specific size.

    value = "#{bindings." VTemplateToShowSecondHierView21.graphModel}.

    Subtype = "LINE_VERT_ABS" dynamicResize = "DYNAMIC_SIZE".

    inlineStyle ="max-width: 100%; min-width: 100%; Width: 1160pt; height: 205pt; »

    shortDesc = "lineGraph" styleClass = "AFStretchWidth" >

  • ClassCastException: java.util.ArrayList cannot be cast to oracle.adf.view.f

    Hello

    I am currently check why I encounter this error in a line graph?

    Basically I have the managed bean
    public class TestMB
    {
      private List<Object[]> tabularData = new ArrayList<Object[]>();
    
      public void setTabularData(List<Object[]> tabularData)
      {
        this.tabularData = tabularData;
      }
    
      public List<Object[]> getTabularData()
      {
        
        return tabularData;
      }
    }
    In the code, I have this defined graphic line.
    <dvt:lineGraph id="lineGraph1" subType="LINE_VERT_ABS"
       emptyText="No Data To Display"
       value="#{backingBeanScope.TestMB.tabularData}"
       contentDelivery="immediate">
           <dvt:background>
              <dvt:specialEffects/>
           </dvt:background>
           <dvt:graphPlotArea/>
           <dvt:seriesSet>
              <dvt:series/>
           </dvt:seriesSet>
           <dvt:o1Axis/>
           <dvt:y1Axis/>
           <dvt:legendArea automaticPlacement="AP_NEVER"/>
    </dvt:lineGraph>
    But I continued to encounter this error.
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to oracle.adf.view.faces.bi.model.DataModel
    My thought is that I would be able to display the emptytext attribute.

    JDeveloper 11.1.1.6

    Published by: Neliel Sep 9, 2012 23:51

    Neliel,

    You must link to the tabularData property and not to the value property.

    
           
              
           
           
           
              
           
           
           
           
    
    

    Arun-

  • Tick-BarChart axis labels are missing in JDK1.8

    Hi guys!

    Currently, I'm trying to integrate a JavaFX BarChart in my existing Java application. So I need a my BarChart BufferedImage, so that I can make this snapshot on a graphics instance.

    I adapted the existing BarChartSample.java (Graphic sample |) Tutorials of JavaFX and Documentation) and deleted all the animations. The hand of code works fine but I have identified a problem-> my TickLabels lack

    The TickLabels are visible if I use JDK 1.7u51 but if I change the JDK 1.8u05... the stlye of my histogram will be changed and my tick labels are not visible.

    I missed something or is this a bug?

    Thanks in advance!

    Best regards

    Steve

    ----------

    using the JDK 1.7u51

    https://drive.Google.com/file/d/0B7P_rknS1TWxMUVaRHNzNzBEWVk/edit?USP=sharing

    using the JDK 1.8u05

    https://drive.Google.com/file/d/0B7P_rknS1TWxZFV6ZVZvR3ZqM3M/edit?USP=sharing

    My adapted code is as follows:

    package barchartsample;
    
    
    import java.awt.Graphics;
    import java.awt.image.BufferedImage;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.FutureTask;
    
    
    import javafx.application.Platform;
    import javafx.embed.swing.JFXPanel;
    import javafx.embed.swing.SwingFXUtils;
    import javafx.scene.Scene;
    import javafx.scene.chart.BarChart;
    import javafx.scene.chart.CategoryAxis;
    import javafx.scene.chart.NumberAxis;
    import javafx.scene.chart.XYChart;
    import javafx.scene.image.WritableImage;
    
    
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    
    
    public class BarChartSample
    {
      /**
      * Initialize JavaFX
      */
      private static final JFXPanel initializeJFX = new JFXPanel();
    
      final static String austria = "Austria";
    
      final static String brazil = "Brazil";
    
      final static String france = "France";
    
      final static String italy = "Italy";
    
      final static String usa = "USA";
    
      public static void main(String[] args) throws InterruptedException, ExecutionException
      {
          JFrame frame = new JFrame();
          frame.setSize(815, 640);
    
          frame.add(new JPanel()
          {
    
                @Override
                public void paint(Graphics g)
                {
                    try
                    {
                          g.drawImage(getChartImage(), 0, 0, null);
                    }
                    catch (Throwable t)
                    {
                          t.printStackTrace();
                    }
                }
          });
          frame.setVisible(true);
      }
    
      static BufferedImage getChartImage() throws InterruptedException, ExecutionException
      {
          FutureTask<BufferedImage> future = new FutureTask<BufferedImage>(new Callable<BufferedImage>()
          {
                @Override
                public BufferedImage call() throws Exception
                {
                    final CategoryAxis xAxis = new CategoryAxis();
                    final NumberAxis yAxis = new NumberAxis();
                    final BarChart<String, Number> bc =
                    new BarChart<>(xAxis, yAxis);
                    bc.setTitle("Country Summary");
                    xAxis.setLabel("Country");
                    yAxis.setLabel("Value");
           
                    XYChart.Series series1 = new XYChart.Series();
                    series1.setName("2003");
                    series1.getData().add(new XYChart.Data(austria, 25601.34));
                    series1.getData().add(new XYChart.Data(brazil, 20148.82));
                    series1.getData().add(new XYChart.Data(france, 10000));
                    series1.getData().add(new XYChart.Data(italy, 35407.15));
                    series1.getData().add(new XYChart.Data(usa, 12000));
    
                    XYChart.Series series2 = new XYChart.Series();
                    series2.setName("2004");
                    series2.getData().add(new XYChart.Data(austria, 57401.85));
                    series2.getData().add(new XYChart.Data(brazil, 41941.19));
                    series2.getData().add(new XYChart.Data(france, 45263.37));
                    series2.getData().add(new XYChart.Data(italy, 117320.16));
                    series2.getData().add(new XYChart.Data(usa, 14845.27));
    
                    XYChart.Series series3 = new XYChart.Series();
                    series3.setName("2005");
                    series3.getData().add(new XYChart.Data(austria, 45000.65));
                    series3.getData().add(new XYChart.Data(brazil, 44835.76));
                    series3.getData().add(new XYChart.Data(france, 18722.18));
                    series3.getData().add(new XYChart.Data(italy, 17557.31));
                    series3.getData().add(new XYChart.Data(usa, 92633.68));
       
                    bc.getData().addAll(series1, series2, series3);
                    Scene scene = new Scene(bc, 800, 600);
    
                    WritableImage fximage = scene.snapshot(null);
    
                    return SwingFXUtils.fromFXImage(fximage, new BufferedImage((int) Math.ceil(fximage.getWidth()), (int) Math.ceil(fximage.getHeight()),  BufferedImage.TYPE_INT_ARGB_PRE));
                }
          });
    
          Platform.runLater(future);
          return future.get();
      }
    }
    
    
    
    
    

    Feedback from a developer:

    This is because the labels are busy (melted), so they are not visible on the first image (that you captured). You must set

    xAxis.setAnimated (false);
    yAxis.setAnimated (false);

    -> This works for me ;-)

  • Possibilities for new ODM graphical components?

    Is it possible to display a bar chart stacked (with several series) or a bar chart with multiple series in the new graphical component? The image displayed next to the graphic bar looks like a stacked column, but I'm not allowed to select several series for Y axis.

    Also, is it possible to display data that is (now if I select no statistics I get the following error message: "Please resolve the following issues: no aggregation of selected function") and rename the axis labels Y and X (I prefer to avoid a label like sum (column_name))?

    Are there settings that can be made to display on the chart values (not only on the mouse - to-above)?

    Concerning the graphic line, how can I represent several series? Even if I am allowed to select more than one column for the axis, I still see just one line on the graph representing only the first selected column.

    Hello

    When you create a bar chart using a "group by" attribute, groups that result are displayed as stacked bars or as a double there bars (shows juxtaposed groups).  The button in the toolbar of the graph (with the stacked bar chart icon) is used to change this presentation. You can view the data as it is, without aggregation, using point clouds or line cards.  Clouds of points/line charts should allow you to display multiple values Y (series), but there seems to be a bug that causes a single line to display instead.  Several series of graphic bars and allocation of label are not available in the current version.

    Thank you

    Marat

  • combo box data binding

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute".
    xmlns = "" * "creationComplete =" send_data () ">"

    < mx:HTTPService id = "userRequest.
    ' URL =' http://suse/websites/team/Mahendra/createseries.php '
    useProxy = "false" result = "results (event); "/ >

    < mx:Script >
    <! [CDATA]
    Import mx.controls.Alert;
    Import mx.collections.ArrayCollection;
    Import mx.rpc.events.ResultEvent;
    [Bindable]
    public var arr:ArrayCollection;
    [Bindable]
    public var aray: Array;

    private void results(event:ResultEvent):void
    {
    ARR = event.result.Mylog;
    Aray = arr.toArray ();
    Alert.Show (arr.length.ToString ());
    Alert.Show (arr. ToString());

    }
    private function send_data (): void {}
    userRequest.send ();
    }
    []] >
    < / mx:Script >



    < mx:ComboBox id = 'Hello' dataProvider '(arr)"'86' = x = y ="253"width ="133">
    < / mx:ComboBox >


    < / mx:Application >

    my php script to return me
    <? XML version = "1.0" encoding = "utf-8"? >
    < Mylog >

    < set > Convertible < / series >
    < / Mylog > < Mylog >

    < set > sedans < / series >
    < / Mylog > < Mylog >

    Sport < series > < / series >
    < / Mylog >


    It's my code. I want to fill combobox with all values in series
    Please help me. Means bind the drop-down list with httpservice result box

    Hello
    Set the labelField of the ComboBox control to the 'series' as shown in the code below.

    I hope this helps.


  • CFCHART chart flash - formatted xml

    I have two cards each that are generated using the tag cfchart - creating a graph in flash. To get the look of the end of the map I want, I use an xml file to handle some of the formatting. This fine all worked for me until last week when I went to a crappy host to a new host good. You can see that the two charts HERE the top graph works fine, but the graphic background batteries (controlled by a different xml file) monthly results superimposed - why?

    Note: the results appear after each other instead of stacked - if I take the line 'style' in the cfchart part, so it tells me that it is the xml file that is paramount, but I don't know why.

    CFCODE of the second graph:
    < cfchart format = "swf".
    style="/XML/monthlyDistanceGraphs.xml".
    chartheight = '125 '.
    chartwidth = '575 '.
    ForegroundColor = "000000".
    yaxistitle = "mileage".
    URL = "JavaScript:popUp('walksMonth.cfm?month=$ItemLabel$'); ">
    < cfchartseries type = 'bar '.
    Query = "yearlyChart."
    ValueColumn = "yrDistance."
    PostesColonne = "walkDate".
    SeriesColor = "ff0000" >
    < / cfchartseries >
    < / cfchart >

    The second chart XML:
    <? XML version = "1.0" encoding = "UTF-8"? >
    < frameChart is3D = "no" >
    < type xAxis = "DateTime" >
    < style labelFormat = "DateTimePattern" reason = "MMM" / >
    < parseFormat style = "DateTimePattern" reason = "yyyy-MM-DD hh: mm:" / >
    < dateTimeStyle majorUnit = 'Months' minorUnit = 'Months' / >
    < isMultiline labelStyle = "false" isHideOverlapped = "true" / >
    < / xAxis >
    < scaleMin yAxis = '0' scaleMax = "80" >
    < labelFormat pattern = "#, # 0" ###" / >
    < parseFormat pattern = "#, # 0" ###" / >
    < isMultiline labelStyle = "false" / >
    < / yAxis >
    < legend isVisible = "false" / >
    < background minColor = "#dddddd" / >
    < background popup = 'white' in the foreground 'black' = / >
    < paint isVertical = min = '25' max "75" = "true" / >
    < elements fixedWidth = "40" >
    < morph morph = 'growing up' / >
    < index collection = "0" >
    <! [CDATA [$(value) miles]] >
    < / series >
    < / items >
    < / frameChart >

    Quote:
    Posted by: jkgiven
    XML file as follows:...

    I just get the month of request:

    SELECT sum (distance) AS yrDistance, month (walkDate)
    ... ...

    ...

    In my first cfdump (under monthlyChart) data appears in the format 2006-10 - 0100:00:00.0 but in my PB, it's 01/10/2006 - I should change it's 2006-10-01?

    First of all, it looks like you are using MS Access, dates DB shows you as '01/10/2006' because that's how Bill Gates thinks that a Red blooded American wants to see them.
    It stores dates in a code which translates by "2006-10 - 0100:00:00.0.

    You don't need to change anything there, just be wary of what's going on.

    The XML file looks OK now.

    It seems that the last problem is that is looking for a column named "walkDate", but the query does not contain such a column (and cfchart does not have an error in this case!).

    Modify your query to:


    SELECT
    SUM (distance) AS yrDistance
    , MONTH (walkDate) AS walkMonth
    Of
    bockWalk
    WHERE
    YEAR (walkDate) = #year (Now ()) #.
    GROUP BY
    MONTH (walkDate)

    Then change your chartseries to:

    <>
    type = 'bar '.
    Query = "yearlyChart."
    ValueColumn = "yrDistance."
    PostesColonne = "walkMonth".
    SeriesColor = "ff0000".
    >

  • write the multiple value series buffer using the structure of the case

    In this VI, I am generating waves by using the sliding bar. After that I compare it to a value as 0.6. If the value of wave is higher than 0.6 then led flashes and structure case written 1 value serial buffer. If it is less than 0.6 became led off and structure written case value 0 in the stamp series. now, I want to add another condition if the chart value is between 0.2 to-0.2 written structure case 2 series buffer value. can you tell me how can I do this?


  • How to convert only the first false true after a series of real values

    Hello

    I would like to know how I can convert only the first value false true after a series of true values. For example, I want to make the TTTFFF to TTTTFF.


  • Get integer values of visa series read

    Hello

    I am having trouble getting the integer values correct of the reading series string that I get. For example if I send 0P3 I get 48,112,51 as elements of an array. I used the string to byte array function to convert the string I've read on the serial port. The values are the ascii equivalents. How can I get 0, p, 3 in the back? I need that the program does a length check and crc going wrong because 0 is now considered to be 48.

    concerning

    Bastien.


Maybe you are looking for