Axis label question

My application creats personalized graphics using AS3 and a mySQL database. Almost all of the graphics make it very well, except that I have one that is supposed to set its min vertical axis at 0% and its maximum to 75% with intervals each 25%, and yet its labels make in the form of 0%, 30%, 50% and 80% instead of 0%, 25%, 50% and 75%. Data and grids are correct, just the axis labels are wrong. If I set the min to something other than 0, the labels are fine. This seems to be a problem if the interval is set to anything other than 5 or 10 (like 15 or 25). Can someone tell me whether it is a bug of Flex or if this problem could be caused by something else? This happens on a development server and the server, and there are a couple of other graphs that have this same problem.

The graph in question can be seen at http://www.communityindicators.ewu.edu/graph.cfm?id=106.

Thanks in advance for your help.

Yes, I solved this problem!

I had to put the maximumLabelPrecision to the LinearAxis.

Tags: Flex

Similar Questions

  • Can I change by graphical programming axis Label strings?

    I use a chart control that has a Y axis with 8 equal divisions and axis label strings to each division.  I always want to 8 divisions equal with the channels of the label to these divisions, however, the maximum on the graph may change (for example: 0, 10, 20, 30, 40, 50, 60, 70, 80 vs 0, 20, 40, 60, 80, 100, 120, 140, 160).  I can easily set it up through the GUI editor.  I can then allow the strings to Label and set the strings correspond to the values of my 8 divisions.

    However, if the maximum axis value is edited by the user (for example, 80 to 160), is it possible to programattically changes the values that when the Label string axis?  Is pretty simple change it the maximum axial, but this only me half the way there happens.

    Thanks in advance!

    Oh, and I am currently using v8.1 CVI.

    This isn't a simple question!

    Firstly, do you intend to do if the user enters, saying, 125 as the maximum axial value? What of your divisions? And how do prevent you the user to change the minimum value as well?

    On the other hand, I remember, is not a special event that is triggered when the user changes the axis interval.

    I suggest putting a separate button on the control panel to change the scale, have the use of the maximum desired value with PromptPopup or another method of entry, adapt it to a reasonable value and apply it at the graphic level, leaving the grpah to calculate the value of his 8 Division itself.

    That being said, consider that the chart axis labels can be set programmatically using the label strings: see here, section "strings of the axis; the same can be set at design time in the Publisher of the IUR. This can be an option if you decide to go in a different way from the one I proposed.

  • Change the axis label w.r.t. the scale automatically in the waveform graph

    Hello

    Is it possible to change category axis labels and the value the axis according to the scale automatically? I have a waveform graph which is automatically resized and values on the y-axis of milli, micro and nano volts according to the results of the output from the tests carried out. I need the label of the axis to change automatically according to the scale... Could someone tell me please how to do this. Thanks in advance.

    Best regards

    Julien

    Alain,

    I don't know exactly what you want.

    If you want to just scale to change as follows: 10n or 5u, use the property format scale IF the Notation.

    If you want to change the name of scale label text, you use the YScale.NameLbl.Text property. The attached VI shows one way to do something like that.

    Lynn

  • Increase the police the axis labels and plot little away from the card.

    Hello friends,

    I developed a JavaFx program in which I traced a barchart.
    I'm not able to increase the font of the axis labels and also I want to print some for chart axis labels so that the tick-mark labels, and axis labels would not cross.

    In this table, I have "BOLD" axis-lines only in the left side and down. I also want the axis lines "BOLD" upstairs and to the right. If there is any way or method that please suggest me.

    My program is given below: -.

    SerializableAttribute public class BarChartHorzFx extends Application
    {
    the final static string AUSTRIA = "Austria";
    the final static string BRAZIL = "Brazil";
    final FRANCE Shared As String = "France";
    final static string Britain = "Britain";
    the final static string USA = "USA";

    /**
    * Main method
    @param args
    */
    Public Shared Sub main (String [] args)
    {
    Launch (args);
    }

    /**
    * FX lettering from here.
    */
    @Override
    public void start (steps) throws exceptions
    {
    final NumberAxis xAxis = new NumberAxis (0, 120000, 20000);
    xAxis.setLabel ("Value");
    xAxis.setTickLabelRotation (90);
    xAxis.setTickLabelFont (do ("Arial", 12));

    last axis desabscisses yAxis = new CategoryAxis();
    yAxis.setLabel ("Country");
    yAxis.setTickLabelFont (do ("Arial", 12));

    final BarChart < number, String > barChart = new (BarChart < number, String >
    xAxis, yAxis);
    barChart.setTitle ("summary of country");

    XYChart.Series < number, String > firstSeries = new XYChart.Series < number, String > ();
    firstSeries.setName("2007");
    firstSeries.getData () .add ((in English only)
    new XYChart.Data < number, String >(25601.34, AUSTRIA));
    firstSeries.getData () .add ((in English only)
    new XYChart.Data < number, String >(20148.20, BRAZIL));
    firstSeries.getData () .add ((in English only)
    new XYChart.Data < number, String >(10000, FRANCE));
    firstSeries.getData () .add ((in English only)
    new XYChart.Data < number, String >(35804.15, BRITAIN));
    firstSeries.getData () .add (new XYChart.Data < number, String >(12000, USA));

    Second series...
    XYChart.Series < number, String > secondSeries = new XYChart.Series < number, String > ();
    secondSeries.setName("2008");
    secondSeries.getData () .add ((in English only)
    new XYChart.Data < number, String >(57401.85, AUSTRIA));
    secondSeries.getData () .add ((in English only)
    new XYChart.Data < number, String >(41941.19, BRAZIL));
    secondSeries.getData () .add ((in English only)
    new XYChart.Data < number, String >(45263.37, FRANCE));
    secondSeries.getData () .add ((in English only)
    new XYChart.Data < number, String >(117320.16, BRITAIN));
    secondSeries.getData () .add ((in English only)
    new XYChart.Data < number, String >(14845.27, USA));

    Third series...
    XYChart.Series < number, String > thirdSeries = new XYChart.Series < number, String > ();
    thirdSeries.setName("2009");
    thirdSeries.getData () .add ((in English only)
    new XYChart.Data < number, String >(45000.65, AUSTRIA));
    thirdSeries.getData () .add ((in English only)
    new XYChart.Data < number, String >(44835.76, BRAZIL));
    thirdSeries.getData () .add ((in English only)
    new XYChart.Data < number, String >(18722.18, FRANCE));
    thirdSeries.getData () .add ((in English only)
    new XYChart.Data < number, String >(17557.31, BRITAIN));
    thirdSeries.getData () .add ((in English only)
    new XYChart.Data < number, String >(92633.68, USA));

    Addition of serieses to barchart
    barChart.getData () .addAll (firstSeries, secondSeries, thirdSeries);

    Scene = new Scene (barChart);
    stage.setScene (scene);
    stage.setTitle ("Histogram");
    internship. Show();
    }
    }

    See tables to style with CSS documentation-online http://docs.oracle.com/javafx/2.0/charts/css-styles.htm#CIHGIAGE.

    Fonts and the location can be changed via the - fx - police-* css types and -- translate - fx * types (see http://docs.oracle.com/javafx/2.0/api/javafx/scene/doc-files/cssref.html).
    Code can be validated at the clearer in the forums if surrounded by markers of code between the brackets.

    Info of the axis can be looked up and changed via css as below (since the graphics to style with CSS documentation):

    .axis {
        -fx-font-size: 1.2em;
        -fx-text-fill: #462300;
        -fx-tick-label-fill: #914800;
        -fx-font-family: Tahoma;
        -fx-tick-length: 20;
        -fx-minor-tick-length: 10;
    }
    
  • I have a bar chart and I need to completely remove the axis labels

    I have a bar chart, and I need to completely remove the axis labels and have only black 1px on the axis lines.

    I tried this in style but the font-size: 0; doesn't labels disappear completely.

    BarChart {}
    horizontalAxisStyleName:myAxisStyles;
    verticalAxisStyleName:myAxisStyles;
    }

    {.myAxisStyles}
    tickPlacement: none;
    do-size: 0;
    }

    Try adding a verticalAxisRenderer and a horizontalAxisRenderer between your tags barChart.

    That is to say.

    ....

    ...

    The key is in setting showLabels property to false.

    J

  • Design of the Vertical axis labels

    Hi all

    I am a newbie to Flex and has difficulties with a BarChart, where the vertical axis labels are small enough to be almost unreadable. I would like to increase the EIS of the labels, while keeping the overall size constant.

    I've added an AxisRenderer to the vertical axis and specified a styleName with a fontSize 10. The effect has been to reduce the size of the labels even more! (In fact, the mere presence of the AxisRenderer without a specification styleName was sufficient to cause this additional reduction). Later, I defined a color in the style just to check that the style has been applied (if only partially).

    Is there a better approach for dimensioning of the axis labels? I'm using BF 3 Beta 3. Thanks in advance for your suggestions.

    A-ah! gutters!

  • Change the axis labels

    Hello

    Is it possible to change the labels of the axis on the length? Because we designed a graphic page where the SQL statements can be created dynamically. So the axis labels must also be changed. But I couldn't figure out how to make...

    Thank you
    Osman...

    Hello

    You can create hidden item dynamically set you the value.
    Then use point as below on the attributes of table settings Axes

    &Px_MY_ITEM.
    

    Hope this helps and is what you are looking for

    BR, Jari

  • Out of sync with datapoints chart axis labels

    I'm having a problem with the horizontal time on a HLOCChart labels get out of sync with actual datapoints. The time on the horizontal axis labels don't align all the time value of the real datapoins.

    The data contains digital values summarized in one minute intervals. The graph shows a day of data between 09:30 and 16:00. The graph displays the labels of time on the horizontal axis between 13:00 and 21:00. However, the data contains data from 09:30 to 16:00, and time of the data of the data points is not all align with the labels of the time displayed in the axes.

    The xField contains at the time of trade and is of type date. I defined the attribute dataUnits for the tag mx:DateTimeAxis to minutes like this: < mx:DateTimeAxis dataUnits = "minutes" / >.

    Anyone know what could be the cause?


    I figured this out. By default, the graph shows the time in the axis of the graph in the Greenwich mean time. affecting displayLocalTime ture causes the time to display in the localtime from the computer.

  • Alignment of category axis labels y

    I want to just category labels to begin not on the axis value, but away from him like photo below.

    Is there someone that makes me know what you?

    < numbers 3.6.1. on macbook pro retina >

    Make sure the first row AND first column are headers

    Add an extra, blank line before the first entry of data and this will create a space in the category labels

    Added an example of data in the rows as your post:

  • WPF chart: formatting of the axis labels

    How to configure the chart to show only the first name label and the axis? I think that it is somehow needs to be done by changing the RangeLabeledDivisions.Mode property.

                         













    You can set the Mode on the MajorDivisions to a page count mode two:



            Mode="Count: 2" TickVisibility="Hidden">

                    ...

            

        

    This will show just the minimum and maximum divisions for the beach.

  • Symbolic notation on the chart MS2009 axis labels?

    I use Measurement Studio 2009 (c#) to display graphs of waveform.

    Question: How can I format the labels to the major division of a XAxis (or YAxis) such as:

    -A value of 1000 will display "1 k".

    -A value of 0.001 will display "1 m".

    -etc.

    I'm looking for is equivalent to the following where Studio 8 (C++)

    -CNiAxis::FormatString = "k".

    -C' was called "symbolic notation.

    I looked in. MajorDivisions.LabelFormat but I'm not quite sure what do what I'm looking for.

    Any advice would be greatly appreciated.  Thank you.

    You should try something like:

  • WPF font size axis label

    Please is it possible to make the size of the label in an image smaller or larger wpf?

    Thank you.

    If you want to set the size of all text elements in the chart, you can change the FontSize on the graph:

    FontSize="22" ...>

    If you want to set the size of the major division labels, you can change the FontSize on the LabelPresenter for the MajorDivisions :


            
                
                    
                        FontSize="22" />
                    
                
            
        

    Or if you want to set the size of the label of the axis, you can use a custom LabelTemplate :


            
                
                    FontSize="22" />
                
            
        

  • Whole left panel chart axis label y

    Hello

    Currently, I am too stupid to find the attribute to set the label of the axis y on the left in a graphic Panel. The main label is defined like this:

    SetCtrlAttribute (Panel, PANEL_NAME, ATTR_LABEL_TEXT, "xxx");

    SetCtrlAttribute (, ATTR_YNAME,);?

  • Rename the slider axis label in a XY graph

    Hello

    I'm using Labview 8.2 and want to Relabel the axis of the cursor for a XY chart legend. Leticia cursor currently contains X (for the X axis) and Y (Y axis). I wish I could rename the labels for the x-axis and Y Leticia of slider to give the user a more precise description of the labels of the axis.


  • graph shape wave double y axis: how to change the programmatic axis labels

    I'm using waveform graph to display the data from the experiments. The user can select the channels to display; I did 2 axis y to view 2 channels.

    I would like to than the label of the axis y to change to different channels. I did it with a XY graph through a property node, but I can't find them for the separate value axis for the

    waveform graph.

    How do I?

    Thank you

    Are you scaling Y Active first?

    Post a picture of your code, so we can look over your shoulder and comment.

    Ben

Maybe you are looking for

  • iOS 9.3 is defective

    I've updated my ios to 9.3 and was reallu excited to try the new features, but none of them showed up on my phone?

  • Satellite A60-672. to access the drive D: problem

    Hi, can anyone help? I scanned a photo upload that I wanted to copy on CD, but whenever I try to copy files or open D: the Workstation window, I get a message from Windows Explorer which reads: D:\is is not accessible. incorrect function. What should

  • OfficeJet Pro 8610: Need a feature to print overview of 8600 Officejet series

    Our library network environment is a challenge. I would like to plug into our ethernet with a cat5e cable network and be a part of our network printer, but I have to be able to print wirelessly from two Windows laptops. Unfortunately, our wi - fi lib

  • Color laserjet CP1525nw will not print in color

    I installed the PCL6 and PostScript drivers on my Surface Pro 3 to print to my LaserJet CP1525nw color.  The printer is connected to my router.  The printer prints, but only in shades of gray.  What can I do to be able to print in color and continue

  • refuse the socket connection in the first leg of an application

    Hello I have an application that connects with the server (SSL, but the same thing happens when you're a normal socket). When I load my application for bb and run it for the first time, I have an alert asking if I want to trust connection socket/ssl