Flex chart x-axis data spacing

hello
i am using flex chart line series and column series. i want
to display 100 data points, with different dates along the x-axis,
but i don't want all 100 points to be displayed at the same time as
the x-axis dates will not be readable. i want to have a fixed space
between each x-axis point and the user then scrolls along the
chart.
i read the API but do not see any way to add the x-axis
spacing?
also how i do put more data information, with each data point
if a mouse if placed over it, not just the X & Y data points.
thank you for any assistance.
Tony

thanks so much,
The tip data solved my 2nd problem.
Thanks for your suggestions to"
i am using flex chart line series and column series. i want
to display 100 data points, with different dates along the x-axis,
but i don't want all 100 points to be displayed at the same time as
the x-axis dates will not be readable. i want to have a fixed space
between each x-axis point and the user then scrolls along the
chart.
i read the API but do not see any way to add the x-axis
spacing?
you mentioned about using min/max values on the x-axis. That
is a good solution except i would then need to add buttons to say
,show the next 30 days.
I really want to to show 90days of data data, with say 30
days appearing at once, and the user just scrolls to see the rest
of the days data without having to press buttons for more data. Any
idea how i can do this?
thanks
Anthony

Similar Messages

  • Flex chart x-axis spacing between data

    hello
    i am using flex chart line series and column series. i want
    to display 100 data points, with different dates along the x-axis,
    but i don't want all 100 points to be displayed at the same time as
    the x-axis dates will not be readable. i want to have a fixed space
    between each x-axis point and the user then scrolls along the
    chart.
    i read the API but do not see any way to add the x-axis
    spacing?
    also how i do put more data information, with each data point
    if a mouse if placed over it, not just the X & Y data points.
    thank you for any assistance.
    Tony

    thanks so much,
    The tip data solved my 2nd problem.
    Thanks for your suggestions to"
    i am using flex chart line series and column series. i want
    to display 100 data points, with different dates along the x-axis,
    but i don't want all 100 points to be displayed at the same time as
    the x-axis dates will not be readable. i want to have a fixed space
    between each x-axis point and the user then scrolls along the
    chart.
    i read the API but do not see any way to add the x-axis
    spacing?
    you mentioned about using min/max values on the x-axis. That
    is a good solution except i would then need to add buttons to say
    ,show the next 30 days.
    I really want to to show 90days of data data, with say 30
    days appearing at once, and the user just scrolls to see the rest
    of the days data without having to press buttons for more data. Any
    idea how i can do this?
    thanks
    Anthony

  • Flex charting with Coldfusion data

    Can anyone tell me if there is a way to do charting with data
    coming from Coldfusion? I'm not a newbie, but not quite there yet
    with coding yet either so an example might be helpful. I was
    looking at converting a cfc. file to as. but started doubting if
    that can actually be done (just a stab in the dark on my
    part)

    Should have spotted this last time. Try using
    event.lastResult.getCDDDataResult.
    I am presuming that updateCDDChart is being called as the
    result of an HTTPService.
    EDIT: No, that won't work. You use lastResult when using
    HTTPService a different way. Not entirely sure what your problem is
    at the moment. I'll maybe get a chance to look more closely this
    evening.

  • Flex chart how to put distance between x-axis data

    hello
    i am using flex chart line series and column series. i want
    to display 100 data points, with different dates along the x-axis,
    but i don't want all 100 points to be displayed at the same time as
    the x-axis dates will not be readable. i want to have a fixed space
    between each x-axis point and the user then scrolls along the
    chart.
    i read the API but do not see any way to add the x-axis
    spacing?
    thank you for any assistance.
    Tony

    I don't know what you mean then.
    If you set the min and max to be a certain number of days
    apart then you know the dates within those days will be displayed.
    That combined with the width of the chart will define how much
    space there is between x-axis points.

  • Showing one data point on a line chart - X-axis label placed away from its actual position

    Hi Guys,
         In line chart, i used CircleItemRenderer to show single data point. It shows correctly if it is single data point. But the x-axis label placed away from its actual position. Right now it displayed left most position where the line chart starts. I need to move that label straight of that datapoint where it plotted.  Please see the screen shot attached with this post.
    In screen shot, x-axis label "Jan" displayed in left most position.
         And how can we show the datatip for single datapoint. At present, we can't able to see the datatips also with single datapoint.
         Can any body help me to fix those two issues.

    I figured out a way to customize a single datapoint in a line series.  The solution is at this link:
    http://www.flexdeveloper.eu/forums/flex-charting/customize-a-datapoint-in-a-line-series/

  • How to set date format dd.MM.yy for chart time axis

    Is it possible to set default date format dd.MM.yy instead of MM/dd/yy in Flex charts without using label function ?
    In this case we do not know beforehand the length of the time span; it can be minutes, days or weeks.
    Setting locales in compiler options or locale settings for application seems not having any effect.

    For example
    - mx:Barchar
    - if time span is 4 minutes; time axis format is HH:mm and shows 10:00, 10:01, 10:02, 10:03 ; *this correct*
    - if time span is 5 days; time labels are automatically in MM/dd/yy format; question is how to change this automation
    to format dd.MM.yy
    - how to do this *without* dateformatter and *without* coding "if time span is is longer than day nyt less than week then use dd.MM.yy format" ?

  • Help in Binding list to Flex chart Axis.

    Hi!
    I am doing chart binding in flex. I have a list with Data. I want to separately bind the Y-Axis of chart and then plot line series according to the data in the list.
    Moreover I want to change the background color and border of Data Tip in Flex Chart.
    Regards,
    Nazzal.

    See here:
    http://livedocs.adobe.com/flex/3/html/help.html?content=charts_types_08.html
    There's stuff on data and on customised datatips...

  • Three data sets in a single Flex chart?

    Hello everyone;
    I've successfully integrated two data sets into a single Flex
    chart; now I'm wondering how to bring in another one. Here's an
    example of what I'd want to do. Say I wanted to chart average
    lifespan and average household income by US State. So I'm imagining
    each state could be represented by a pair of bar charts - one
    representing lifespan and using the left y axis and one
    representing income and using the right y axis. The third component
    would be the state, which the user should be able to display or
    hide. I'm imagining states being represented by color and a label
    on the x axis, and user controls to display more or fewer years.
    Any change I could actually pull this off?
    Thanks for any help.

    I'm not entirely certain where the conflict from adding
    States would appear, but I'm a little unclear on your data model.
    Have you considered putting all the information into a single data
    set? I would suggest filling an Array Collection with a class like
    this:
    public class infoHolder
    public var lifespan:int;
    public var salary:int;
    public var stateName:string;
    Then you can simply fill your chart like this:

  • Crystal Reports - Charts - Restricting the data points on the X-axis

    Hi,
    Is there a way to restrict the number of points to display on the x-axis of a crystal chart keeping the number of data points the same.
    For example, if the chart plots date vs value points and the data for the chart is from 1980 to 2009. This means the data points on the x-axis appear very close to each other.
    I need a way to show the chart with all data from 1980 to 2009 but limited x-axis labels. Is there a way to configure the number of labels to show on the x-axis.
    Thanks!

    Thanks for the answer.
    "Right click on one of the x axis labels and select Group (X) Axis Options...
    On the Layout tab there is an option to Skip Group Labels, check this and enter in the number of labels you want to skip". Is there a way to do this from a .NET client or via a formula field in Crystal itself. The data points is going to be dynamic, hence the requirement is to dynamically configure the "number of labels" to be skipped.
    Thanks.

  • Duplicate y-axis labels on charts for small data values -- is this a bug?

    Hi,
    I have several charts where the data values are small (1,2,3). The y-axis labels are duplicated for these charts. For example, if the data value was 2 the y-axis labels display as 0 1 1 1 2 2 2. I know that I can manually set the maximum y-axis value and also set the segments on the chart to eliminate the duplicate values. My issue is that I have over 100 charts in my dashboard and I have to manually set the values each month, and then in the next month when the data values are larger I have to remove the maximum y-axis value so the y-axis value is dynamically created. Is this a known bug within the software? Is there any fix for this besides what I'm already doing?
    Please let me know if anyone else has seen this issue and if this is a bug, or if this has been corrected in any fix packs.
    Thanks!!

    Hi Jim,
    I have data for three months in the data range A1 to B3 as given below -
    Jan - 1
    Feb - 2
    Mar - 3
    In Cell D1 write a formula =MAX(B1:B3)+1 (This will give you value 4)
    Go to Chart property -> Behavior -> Scale -> Manual (Y) Axis ->  Minimum 0 and Maximum will be pointing to cell D1.
    Go to Chart property -> Behavior -> Scale -> Division -> Size of Division 1 and Minor Divisions 1
    This will give you Y Axis values as 0,1,2,3,4
    Now change value of any month to 5.  Now value in D1 would become 6 and Y-Axis would change to 0,2,4,6.
    Hope this helps.
    Rashmi
    Edited by: RashmiG on Jan 8, 2010 4:45 PM

  • Waveform chart time axis is not matching the waveform data

    So here an interesting conundrum I hope you might be able to help me with...
    My VI has waveform data sent to a chart, though the data is not being plotted against the current time.  Rather, it is being plotted starting way back in the reference time (way back in 1903).  I don't understand why this is happening.  When I build the waveform, I use the "Get Date/Time in Seconds" function outside the while loop and feed that into my "Build Waveform" Function as the t0 value.  My dt value is 0.05 (20 Hz) and then I feed in my array of data in the Y input.  Any ideas why the chart is plotting this data over 100 years ago?  Thanks!
    Andrew

    Hiii, Ronin
          Here is your solution.
    By default, waveform charts and graphs display the absolute time at time 0 as 7:00:00 PM, 12/31/1903 on a Windows based system. Property nodes can be used to get the correct absolute time to display on the x-axis of the waveform chart.
    First, right click the chart on the front panel and select X Scale >> Formatting. Then set the format to Absolute Time.
    Create a property node for the waveform chart by right-clicking on the chart on the block diagram and selecting Create >> Property Node. Expand the property node to display two properties. Select the Format property and the Offset property. The Format property is located under X-Scale >> Format and Precision >> Format, and the Offset property can be found under X-Scale >> Offset and Multiplier >> Offset. Right click on the property node and select Change All to Write.
    For the Format property, the context help shows that there are multiple inputs to this property. Wire in a value of 7 to set the format to Time and Date.For the Offset property, first wire the output of the Get Data/Time in Seconds VI to the input of the To Double Precision Float VI. Then wire the output of the To Double Precision Float VI to the Offset property.
    In addition, if you know the number of data points plotted to the chart per second, you can set the Multiplier property located under X-Scale >> Offset and Multiplier >> Multiplier. If there are x data points generated per second, wire in a value of 1/x to the Multiplier property. A simple example program "Chart with Timestamp" that demonstrates how to do that is attached.
    Thanks,
    Nishant
    Attachments:
    Chart with Timestamp.vi ‏36 KB

  • Flex 3 to Flex 4 migration issue (Flex charting and Special char)

    Hi All,
    I have migrated Flex 3 to Flex 4 and in Flex charting axis label, I am not able to see less then sign ( < ). I tried to use &lt;  but it's not working, I have attached sample code.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx"
                    minWidth="955" minHeight="600" initialize="init()">
         <fx:Declarations>
             <s:SolidColor id="s1" color="#738994"/>
             <mx:SeriesInterpolate id="seriesInterpolate" duration="800"/>
             <mx:SeriesSlide id="seriesSlide" duration="800" direction="up"/>
             <mx:SeriesZoom id="seriesZoom"
                            duration="1000"
                            minimumElementDuration="50"
                            elementOffset="50"
                            verticalFocus="top"
                            horizontalFocus="left"
                            relativeTo="chart"/>
         </fx:Declarations>
         <fx:Script>
            <![CDATA[
                 import mx.collections.ArrayCollection;
                 [Bindable]
                 public var student:ArrayCollection = new ArrayCollection([
                     {Stream: "Management", Girls:1000, Boys:1400, TotalStudent:2400},
                     {Stream: "&lt;Computer Science", Girls:800, Boys:1200, TotalStudent:2000},
                     {Stream: "< Mechanical", Girls:200, Boys:1500, TotalStudent:1700},
                     {Stream: "> Electical", Girls:800, Boys:850, TotalStudent:1650},
                     {Stream: "Electronics", Girls:500, Boys:1000, TotalStudent:1500},
                     {Stream: "Civil", Girls:300, Boys:900, TotalStudent:1200}
                 private function update():void {
                     var str:String = catfDP.selectedItem.data;
                     if(str == "Girls"){
                         cs1.yField = str;
                         cs1.displayName = str;
                         cs1.setStyle("fill" , "738994");
                     }else if(str == "Boys"){
                         cs1.yField = str;
                         cs1.displayName = str;
                         cs1.setStyle("fill" , "999990");
                     }else{
                         cs1.yField = str;
                         cs1.displayName = str;
                         cs1.setStyle("fill" , "406374");
                 private function init():void{
                     catfDP.selectedIndex= 0;
                     effectDP.selectedIndex= 0;
             ]]>
         </fx:Script>
         <s:Panel title="Chart Effect Example" width="627" height="565">
             <s:layout>
                 <s:VerticalLayout/>
             </s:layout>
             <mx:ApplicationControlBar dock="true" width="625" height="82">
                 <mx:Form>
                     <mx:FormItem label="Category Field:">
                         <s:DropDownList id="catfDP" change="update();" prompt="--Select--" width="136"
                                         height="19">
                             <s:dataProvider>
                                 <mx:ArrayList>
                                     <fx:Object data="Girls" label="Girls" />
                                     <fx:Object data="Boys" label="Boys" />
                                     <fx:Object data="TotalStudent" label="TotalStudent" />
                                 </mx:ArrayList>
                             </s:dataProvider>
                         </s:DropDownList>
                     </mx:FormItem>
                     <mx:FormItem label="Choose Chart Effect:">
                         <s:DropDownList id="effectDP" change="update();" width="136" prompt="--Select--">
                             <s:dataProvider>
                                 <mx:ArrayList>
                                     <fx:Object label="seriesInterpolate" data="{seriesInterpolate}" />
                                     <fx:Object label="seriesSlide" data="{seriesSlide}" />
                                     <fx:Object label="seriesZoom" data="{seriesZoom}" />
                                 </mx:ArrayList>
                             </s:dataProvider>
                         </s:DropDownList>
                     </mx:FormItem>
                 </mx:Form>
             </mx:ApplicationControlBar>
             <mx:ColumnChart id="cchart"
                             dataProvider="{student}"
                             showDataTips="true"
                             width="621"
                             fontFamily="verdana" height="402">
                 <mx:verticalAxis>
                     <mx:LinearAxis title="Number of Students" />
                 </mx:verticalAxis>
                 <mx:horizontalAxis>
                     <mx:CategoryAxis dataProvider="{student}"
                                      categoryField="Stream"
                                      title="Stream"/>
                 </mx:horizontalAxis>
                 <mx:series>
                     <mx:ColumnSeries id="cs1"
                                      xField="Stream"
                                      yField="Girls"
                                      displayName="Girls"
                                      fill="{s1}"
                                      showDataEffect="{effectDP.selectedItem.data}"/>
                 </mx:series>
             </mx:ColumnChart>
             <s:HGroup>
                 <mx:Legend dataProvider="{cchart}"
                            direction="horizontal"/>
                 <s:VGroup>
                 </s:VGroup>
             </s:HGroup>
         </s:Panel>
    </s:Application>

    Thank you very much for you answer.
    I have solved this problem using Itemrenderer.
    <?xml version="1.0" encoding="utf-8"?>
    <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx"
                    autoDrawBackground="true">
        <mx:Label htmlText="{data.text}"/>
    </s:ItemRenderer>
    and in chart I have used labelRenderer. in label I have used  &lt; for ( < ) sign.
    <mx:horizontalAxis>
                    <mx:CategoryAxis
                        dataProvider="{expenses}"
                        categoryField="Month"
                        title="FY 2006"
                        id="a1"
                        />
                </mx:horizontalAxis>
                <mx:horizontalAxisRenderers>
                    <mx:AxisRenderer labelRotation="45" axis="{a1}" labelRenderer="chase.BarChartLabelRenderer"/>
                </mx:horizontalAxisRenderers>
                <mx:verticalAxisRenderers>
                    <mx:AxisRenderer labelRotation="45" axis="{a1}" labelRenderer="chase.BarChartLabelRenderer"/>
                </mx:verticalAxisRenderers>

  • Flex Charting DateTimeAxis

    I have a problem in the Flex Charting with the DateTimeAxis.
    I have requirement to show more than 60 days data in days using the
    line chart. When I tried that, chart showing x-axis data point in
    months instead of days even though dataUnits mentioned in days.
    When I observed Chart show data correctly if the data is in between
    two months. If the data is span across more than two months chart
    is showing x-axis labels in months.
    Please let me know anything wrong in the code.
    Here is the code:

    The following is the test data for the graph. The data is in
    JSON form and uses adobe json utils to parse the data and updates
    the data provider.
    Data :
    {"yaxisLabel":"New","chartTitle":"Entry Point
    Summary","statusMessage":"Success","dataSet":[{"key":"07/06/2008","AcmeBilling":5},{"key" :"07/06/2008","AcmeBilling":13},{"key":"07/07/2008","AcmeBilling":10},{"key":"07/07/2008", "AcmeBilling":2},{"key":"07/08/2008","AcmeBilling":0},{"key":"07/09/2008","AcmeBilling":0} ,{"key":"07/13/2008","AcmeBilling":1},{"key":"07/14/2008","AcmeBilling":1},{"key":"07/15/2 008","AcmeBilling":3},{"key":"07/16/2008","AcmeBilling":5,"OutdailEntry1":3},{"key":"07/17 /2008","AcmeBilling":3,"OutdailEntry1":3},{"key":"07/18/2008","AcmeBilling":2,"OutdailEntr y1":0},{"key":"07/19/2008","AcmeBilling":0},{"key":"07/20/2008","AcmeBilling":5},{"key":"0 7/21/2008","AcmeBilling":20},{"key":"07/22/2008","AcmeBilling":31},{"key":"07/23/2008","Ac meBilling":13},{"key":"07/24/2008","AcmeBilling":28},{"key":"07/25/2008","AcmeBilling":34} ,{"key":"07/26/2008","AcmeBilling":0},{"key":"07/28/2008","AcmeBilling":46},{"key":"07/29/ 2008","AcmeBilling":29},{"key":"07/30/2008","AcmeBilling":11},{"key":"07/31/2008","AcmeBil ling":12,"OutdailEntry1":1},{"key":"08/01/2008","AcmeBilling":0,"OutdailEntry1":0},{"key": "08/03/2008","AcmeBilling":10},{"key":"08/04/2008","AcmeBilling":0},{"key":"08/07/2008","A cmeBilling":2},{"key":"08/08/2008","AcmeBilling":0},{"key":"08/11/2008","AcmeBilling":13}, {"key":"08/12/2008","AcmeBilling":0},{"key":"08/13/2008","AcmeBilling":2},{"key":"08/14/20 08","AcmeBilling":0},{"key":"08/18/2008","AcmeBilling":1},{"key":"08/19/2008","AcmeBilling ":0},{"AcmeCustSvc":1,"key":"08/20/2008","AcmeSales":2,"AcmeBilling":6},{"AcmeCustSvc":0," key":"08/21/2008","AcmeSales":0,"AcmeBilling":7},{"key":"08/22/2008","AcmeBilling":0},{"ke y":"08/25/2008","AcmeBilling":2},{"key":"08/26/2008","AcmeBilling":0},{"key":"08/27/2008", "AcmeBilling":17},{"key":"08/28/2008","AcmeBilling":5},{"key":"08/29/2008","AcmeBilling":5 },{"key":"08/30/2008","AcmeBilling":0},{"key":"09/01/2008","AcmeBilling":12},{"key":"09/02 /2008","AcmeBilling":0},{"key":"09/03/2008","AcmeBilling":0},{"key":"09/05/2008","AcmeBill ing":2},{"key":"09/06/2008","AcmeBilling":0},{"key":"09/07/2008","AcmeBilling":5},{"key":" 09/08/2008","AcmeBilling":4},{"key":"09/09/2008","AcmeBilling":0}],"dataUnits":"days","ser ies":[{"label":"AcmeBilling","seriesKey":"AcmeBilling"},{"label":"AcmeCustSvc","seriesKey" :"AcmeCustSvc"},{"label":"AcmeSales","seriesKey":"AcmeSales"},{"label":"OutdailEntry1","se riesKey":"OutdailEntry1"}],"statusCode":200}

  • Keeping your charts up to date

    I have a bookmark to http://culverson.com/keeping-your-charts-up-to-dat​e/ this article explaines how to put a time stamp on the X axis of charts.
    My company has installed a Barracuda web filter system and Barracuda blocks access to Culverson.com saying it has somthing to do with proxies. I am not sure what that means, but I do know I will get in big trouble trying to access this now since it is on the Barracuda black list.
    Does anyone have a link to a simmilar explanation of how to put a timestamp on the X axis of a chart?  

    Relying on charts to plot a timestamp is inherently flawed. In my opinion, charts altogether are inherently flawed, except for "quick and dirty" troubleshooting, or where the time component of the measured signal is irrelevant (uncommon). With Charts, each subsequent point is assumed equally spaced, which may be a decent assumption for short periods of time with a deterministic data acquisition.
    Instead, use XY Graphs, which allow for arbitrary point spacing in both X and Y directions. This means that over time, error in time measurement does not stack up, but instead always properly represents the absolute time and relative spacing between points.
    To show the X axis as a timestamp, right click the XY graph to access the properties of that graph. Go to a tab that says something like "Scales" (I don't have LabVIEW in front of me) and then choose the X-axis scale from the Listbox. Here, you can set the Display Format of the numeric to be shown as an Absolute Time, and you can customize how this time is displayed.
    I'm a bit surprised anyone would condone using a Timestamp on a Graph, and I would not recommend this practice when timing is relevant.
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

  • Flex Charting hangs on daylight-savings

    We've seen a serious problem with Flex Charting over the
    weekend, and I am wondering why no one else seems to have seen it.
    If we request a chart passing an axis start Date that is
    before the time-change (Mar 8, 2am in NA) and a axis end Date that
    is after the time change, Flex hangs entirely presumably while
    trying to render the X-axis.
    This seems like a pretty simple "fool"-proof test (though
    we've been known to fool ourselves before).
    Has no one seen this problem? Is it a recognized bug? Will it
    be fixed?
    (I apologize for not knowing all the proper tools within
    this developer community, to submit this problem as a bug.)

    Hi,
    A bug has been logged on this. Please find more details at
    the URL below.
    https://bugs.adobe.com/jira/browse/FLEXDMV-2043
    Thanks.

Maybe you are looking for

  • 2nd dead board in 7 months....help!

    2nd board, same symptoms.  The computer works fine for months at a time.  Then, i'll power off for the night, and when i come back in the morning, no power.  No fans, no boot, no power, no nothing.  I RMA'd my first board after about 5 months with th

  • Hot to display PDF and Word documents as an attachment in OBIEE Reports

    Hi, From few of Oracle threads I learnt that we can store the files in a server locaiton and read it thro a URL. What I am trying to do is, PDF or Word document will be stored in database as BLOB fields. This BLOB field needs to be come as an attachm

  • JTable not seeing Column names from Abstract table model

    Here is the code for the getColumnNames method It is getting called and it is send the correct data However the Headings do not match the data. public String getColumnName(int col){ String s_retval; switch (m_iMode){ case PhoneTableModel.NORMALVIEW:

  • Pre-intel to intel

    I've got a pre-intel Mac Pro that's basically pristine. Only now I'm using a few new Macs, and compatibility is becoming a problem. So I'm wondering if I could update the Mac Pro. I love it! Could it match a new iMac for less money?

  • It's not letting me change the firewall settings.

    I have a odd problem. It's not letting me change my firewall settings. The settings are locked by default, when I click on the little lock image in the bottom it does not prompt me for the password, it says "authenticating" for about 2 seconds, and t