How to limit data range in a Line chart with Time Refresh Control

Hi All,
I have a Line chart with Time Refresh Control and I would like to make some constraints to this navigation.
For example, I would like to limit the user to navigate in a data range of 8 hours.
Is this posible?
Thanks in advance

Hi Pedro,
as far as I know, this is not possible using the time controls on an iChart. However, you may have some success by using your own time controls which call JavaScript methods exposed by the applet.
For example, you could begin by hiding the time and calendar buttons on an iChart, and creating some buttons of your own. For instance, to set the start date of a query (and thus the start date of the iChart using the query), you can use the following:
document.getElementById("appletID").getQueryObject().setStartDate(<date string>);
Using code like the above (look into the xMII script assistant and documentation), you should be able to build time controls which satisfy your requirements. The exact format of <date string> in the sample above will depend on the date format defined in the query template this script calls.
Hope this helps,
Sascha

Similar Messages

  • Problem creating line chart with character data

    Post Author: burkartt
    CA Forum: Charts and Graphs
    CR Developer v. 11.5.0.313
    I want to create a line chart with data from a SQL2K table to show how much server time each application uses per day. All data is defined a character.
    HWA,4/24/2007,01:44.6HWA,4/25/2007,12.28HWB,4/24/2007,4.6HWC,4/24/2007,55.55HWC,4/25/2007,01:22.3HWE,4/24/2007,01:16.1HWE,4/25/2007,0.59
    I want one horizontal line per application where the X-axis represents the date and the Y-axis represents the server time. I have tried all column combinations for "On Change Of" and "Show Value(s)". What confuses me is why are Count and Discount the only Summary Options for the "Show Value(s)" data?
    Thank you,
    tim

    Post Author: V361
    CA Forum: Charts and Graphs
    I created a group based on date, day, then created the chart and put it in the group footer, on change of server, show sum of time, you will get a seperate chart for each day.  I am not sure if this will help, or will just do.  Since you have CR XI, you may want to look at the gauge chart also....

  • My daughter had completed a chart in pages. I saved it and then clicked on other chart types. Now I can't go back to the original chart she made even though I have not re-saved the file. How can I go back to her original chart with data?

    My daughter had completed a chart in pages. I saved it and then clicked on other chart types. Now I can't go back to the original chart she made even though I have not re-saved the file. How can I go back to her original chart with data?

    I don't get what you are saying.
    Is this all the same document?
    What version of Pages?
    Have you tried to revert to a previous version?
    Peter

  • Line chart with more than 15 data series - color problem

    Hi all,
    I've built a line chart with 32 data series (user can control, which of them are displayed at a time). For series 16 to 32 I did manipulate the URL in the browser directly, because Application Express does only display parametrs for up to 15 series. This works fine so far except of displaying the colors. For each sieries I defined a different color. 29 of my 32 series are displayed in the desired color. But series 29, 31 and 32 are displayed in a default-color (#0099CC). It seems that this is a SVG-problem. In the SVG-source I find the wrong color. When I export my application, I see the right color.
    Thanks for help,
    Chris

    Hello,
    Which version of APEX are you using?
    Go to your Flash Chart attributes - get into your series (click the icon) in the section of Series Query you'll find the maximum rows.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://apex-evangelists.com/
    -- http://apexblogs.info/

  • JavaFX line chart with data labels onMouseOver

    Hello
    Is it possible to show the value of a data point in a line chart?
    Here is an example but in flash: [Example of Data labels|http://www.fusioncharts.com/Demos/Blueprint/Default.asp]

    Hi
    I don't use the scene.chart routines but have implemented my own chart with the feature you want - see www.eco-wand.com demonstration which has the feature you wand in the History scene.
    To achieve this, I use the onMouseMoved function to give me the x position within the chart rectangle. I use this to look up my data sequence to get the values which I then display as text.
    abg

  • How can i produce this type of line chart (yield curve) by using flex2 charting?

    help! I am a flex newcomer, how can i produce this type of
    line chart (yield curve) by using flex2 charting? Anybody can teach
    me how can i customize the width of each scales as below of line
    chart? anybody know this?
    Click
    Here To See

    I need to show the X and Y Co-ordinate in a message when I click on the graphic's point.
    thanks for the tips, I´ll try to understand the sample program.
    Noguti

  • Creating a multi series line chart with different data providers

    I have 3 data providers of the same structure i.e ArrayCollection of DataElement and want to use them to create a multiseries line chart. I do not have just 1 dataProvider that can be used but 3 different data providers of the same structure that i want to use each for different series.
    [Bindable] private var orangeSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 101000, month: new Date( '01/01/2008' ) },
                            { sales: 960000, month: new Date( '02/01/2008' ) },
                            { sales: 475000, month: new Date( '03/01/2008' ) },
                            { sales: 425000, month: new Date( '04/01/2008' ) }
                [Bindable] private var appleSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 991000, month: new Date( '01/01/2008' ) },
                            { sales: 140000, month: new Date( '02/01/2008' ) },
                            { sales: 565000, month: new Date( '03/01/2008' ) },
                            { sales: 255000, month: new Date( '04/01/2008' ) }
                [Bindable] private var bananaSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 891000, month: new Date( '01/01/2008' ) },
                            { sales: 147560, month: new Date( '02/01/2008' ) },
                            { sales: 295000, month: new Date( '03/01/2008' ) },
                            { sales: 574000, month: new Date( '04/01/2008' ) }
    I want to create a line chart with orangeSales, appleSales and bananaSales as three different lines on the chart for different dates specified.
    <mx:ColumnChart showDataTips="true" >
            <mx:horizontalAxis>
                <mx:CategoryAxis
                    dataProvider="{orangeSales}"
                    categoryField="month"
                    />
            </mx:horizontalAxis>
            <mx:series>
                <mx:LineSeries displayName="OrangeSales" yField="sales" xField="month" dataProvider="{orangeSales}"/>
                <mx:LineSeries displayName="AppleSales" yField="sales" xField="month" dataProvider="{appleSales}"/>
                <mx:LineSeries displayName="BananaSales" yField="sales" xField="month" dataProvider="{bananaSales}"/>
            </mx:series>
    </mx:ColumnChart>
    Please help!

    Sorry for the confusion. Actually I must be doing some thing wrong like using ColumnChart to display a line chart or something like that.
    I have now realized that a multi series line chart can be built by having a different data provider for each of the LineSeries object.
    So the code below would create a multi series line graph :
    [Bindable] private var orangeSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 101000, month: new Date( '01/01/2008' ) },
                            { sales: 960000, month: new Date( '02/01/2008' ) },
                            { sales: 475000, month: new Date( '03/01/2008' ) },
                            { sales: 425000, month: new Date( '04/01/2008' ) }
                [Bindable] private var appleSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 991000, month: new Date( '01/01/2008' ) },
                            { sales: 140000, month: new Date( '02/01/2008' ) },
                            { sales: 565000, month: new Date( '03/01/2008' ) },
                            { sales: 255000, month: new Date( '04/01/2008' ) }
                [Bindable] private var bananaSales : ArrayCollection =
                    new ArrayCollection(
                        [ { sales: 891000, month: new Date( '01/01/2008' ) },
                            { sales: 147560, month: new Date( '02/01/2008' ) },
                            { sales: 295000, month: new Date( '03/01/2008' ) },
                            { sales: 574000, month: new Date( '04/01/2008' ) }
    I want to create a line chart with orangeSales, appleSales and bananaSales as three different lines on the chart for different dates specified.
    <mx:ColumnChart showDataTips="true" >
            <mx:horizontalAxis>
                <mx:CategoryAxis
                    dataProvider="{orangeSales}"
                    categoryField="month"
                    />
            </mx:horizontalAxis>
            <mx:series>
                <mx:LineSeries displayName="OrangeSales" yField="sales" xField="month" dataProvider="{orangeSales}"/>
                <mx:LineSeries displayName="AppleSales" yField="sales" xField="month" dataProvider="{appleSales}"/>
                <mx:LineSeries displayName="BananaSales" yField="sales" xField="month" dataProvider="{bananaSales}"/>
            </mx:series>
    </mx:ColumnChart>

  • How to avoid data repetation when using select statements with innerjoin

    how to avoid data repetation when using select statements with innerjoin.
    thanks in advance,
    satheesh

    you can use a query like this...
      SELECT DISTINCT
             frg~prc_group1                  "Product Group 1
             frg~prc_group2                  "Product Group 2
             frg~prc_group3                  "Product Group 3
             frg~prc_group4                  "Product Group 4
             frg~prc_group5                  "Product Group 5
             prc~product_id                  "Product ID
             txt~short_text                  "Product Description
    UP TO 10 ROWS
    INTO TABLE l_i_data
    FROM
    Joining CRMM_PR_SALESG and
    COMM_PR_FRG_ROD
    crmm_pr_salesg AS frg
    INNER JOIN comm_pr_frg_rod AS prd
    ON frgfrg_guid = prdfragment_guid
    Joining COMM_PRODUCT and
    COMM_PR_FRG_ROD
    INNER JOIN comm_product AS prc
    ON prdproduct_guid = prcproduct_guid
    Joining COMM_PRSHTEXT and
    COMM_PR_FRG_ROD
    INNER JOIN comm_prshtext AS txt
    ON prdproduct_guid = txtproduct_guid
    WHERE frg~prc_group1 IN r_zprc_group1
       AND frg~prc_group2 IN r_zprc_group2
       AND frg~prc_group3 IN r_zprc_group3
       AND frg~prc_group4 IN r_zprc_group4
       AND frg~prc_group5 IN r_zprc_group5.
    reward it it helps
    Edited by: Apan Kumar Motilal on Jun 24, 2008 1:57 PM

  • Line Chart with more than 15 datapoints

    I'm using Apex 3.1.
    I am trying to create a line chart with more than 15 data points. Apparently 15 is the default. Question is, How do I change the default?
    The Wiki has advice for changing the "Maximum Rows" parameter, but "Maximum Rows" is not to be found, either in the chart attributes or series attributes.
    http://wiki.shellprompt.net/bin/view/Apex/ChartIssues
    I have encountered this limitation with SVG line charts and Flash line and scatter charts. Seems like it must be an easy thing to figure out; I feel embarassed asking such a question. But I've been through all the application property pages, much of the documentation, and several tutorials... Where can I change this? It's driving me nuts!
    Thanks
    Fred

    Hello,
    Which version of APEX are you using?
    Go to your Flash Chart attributes - get into your series (click the icon) in the section of Series Query you'll find the maximum rows.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://apex-evangelists.com/
    -- http://apexblogs.info/

  • Line chart with 2 different y axis

    hi,
    i have a question on line chart in apex. i'm using apex 4.2. is it possible to generate a line chart with 2 different y axis? here's a sample data to illustrates what i'd like the chart to look like.
    date price percent
    1/1 1 100
    1/2 2 90
    1/3 3 80
    1/4 4 70
    the x-axis will be the date column. the left y-axis would be the price column. and the right y-axis would be the percent column.
    i know i can plot multiple lines in a chart thru different series. but they're based on the same x and y axis range. thanks
    jim

    You beat me to it.
    One of the problems I'm having is that the begining and ending point(s) coincide. So, instead of two completely separate lines, I have an area bounded by the series 1 line on top and the series 2 line on the bottom. Since the points overlay, the values of those points also display one on top of the other. I'll have to see if there is a way to separate the series. I've had 3 separate series before, but never with two y-axis.
    Regards,
    Howard

  • Plot empty point in line chart with previous non empty value

    Hello,
    I have a problem to plot series data in SSRS line chart, with the empty point, I don't want use average and zero provided by the report builder, I want use the last non empty data to fill the empty point, tried to use expression =Previous(Field!Value), no
    luck, any one have some good idea?
    P.S. do not want to use query to fill the null with previous non null value, just from the performance point view. at last , the chart should have some line as square wave with different height, if I use average for empty point, it shows slop wave line which
    is not reflect the real production.
    Thanks
    Richard 

    Hi Richard,
    In Reporting Services, if the chart type is a linear chart type (bar, column, scatter, line, area, range), null values are shown on the chart as empty spaces or gaps between data points in a series. By default, empty points are calculated by taking the average
    of the previous and next data points that are not null.
    If we want to use previous value to replace the empty value, please refer to the following steps:
    Right-click the field which displayed in Y axis (Height) to open the Series Properties.
    In the Value field to modify the expression to look like this:
    =iif(isnothing(Sum(Fields!Height.Value)),previous(sum(Fields!Height.Value)),sum(Fields!Height.Value))
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Line chart with different length series?

    Hello,
    I would like to draw a line chart with three different series.
    1. Previous year
    2. Current year (until now)
    3. Estimate (2 months)
    I've got 12 values for the previous year, 4 values for the current year (January to April) and 2 estimated values for May and June.
    When I define the three series, each is stretched over the whole width of the chart. How can I avoid that and force for instance the April values to be displayed above each other? Is it possible at all with this type of chart? (In Excel, it's quite easy...)
    Thanks for any help!
    Sabine

    Hi,
    You’ll have to write a query for your series 2 and 3 that has the same number of data points as your series 1 query, in your example that would be 12. Line series charts are always stretched over the full width by design. The months for which you have no data, would have a value of NULL. Please note that there is one issue, which has been fixed in 2.2, that causes the charting engine to only render dots instead of lines for series 2, 3, …, if they have a NULL value at the last data point. So if I understand your requirements correctly, you should try this on our 2.2 hosted beta instance, and then upgrade to 2.2 when it comes out.
    Regards,
    Marc

  • Line Chart with Multiple Series

    Post Author: JayZee
    CA Forum: Charts and Graphs
    HI
    I am trying to create a line chart with multiple series for trend analysis on CR XI but not having much luck, I thought it would be so simple to do!
    My data is provided summarized on the server and is returned as 12 rows:
    Month       Year1        Year2      Year3      Year4     Year5January      100           80          75           90          120February      85           25           40           25          80etc for the rest of the months
    My problem is that I can only get the chart to accept the values to display as a summary and not just as the data pulled back from the server.  I have read an article on the support site for Crystal 6.0  but it doesn't seem to translate well into XI.
    If necessary I could redesign the table to bring back un-summarized data but that is quite a big job.
    Any help greatly appreciated.
    Jay

    Post Author: Tim Wise
    CA Forum: Charts and Graphs
    In the chart expert, put Month in the 'On change of' box and put each year in the 'Show values' box. This puts the month on the x-axis and plots each year as a line.
    Is that what you want?
    I did this in CR 2008 using your data in an Excel sheet.

  • JavaFX, Display Line Chart with additional text

    Hello:
    I am new to Java and JavaFX. I have been able to create a line chart that has four series using example code from the Oracle Javafx Documentation home. Below is the syntax used to create the line chart once the series info has been populated:
    Scene scene = new Scene(lineChart,800,600);
    lineChart.getData().addAll(series1, series2, series3, series4);
    When I display the chart, I would also like to display additional text.
    My chart measures four different averages by month. I would like to use the text to give more info about each series (ex: 6 month and 1 year total avg for each series). The Line Chart and the text that I want to add do not need to be related. I will calculate the 6 & 12 month avg and list it in the text separately.
    I am struggling to find a way to display the line chart with a separate text field. If anyone can point me to some sample code that does something similar I would greatly appreciate it.
    Thanks,
    Troy

    Hi,
    My data points in my line chart are an average for a single month for each series.
    Ideally I would like a table as shown below centered under the Line Chart if possible (I was unable to use underscores or spaces to build the example. The + signs would really just be a line and the ' are used for spaces):
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++``````````````++``Series 1```++```Series 2```++``Series 3```++``Series 4``++
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++6 Month Avg````++```5.6`````++``````7.8 ```++ ````4.8`````++`````8.4``++
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++12 Month Avg```++```6.9`````++``````9.3 ```++ ````2.5`````++```5.7````++
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Edited by: user8835022 on Jul 26, 2012 3:35 AM

  • Multiple Line Charts with Column Chart

    I want to show two line charts with a column chart.  Everything goes on the screen fine, except the two line charts origination point always starts at the same point despite the numbers being different.  For example, the ls1 might read 280, 190, 180 and the ls2 is 175, 188, 177 but both origination points start at 280.  The other two datapoints should also be close together but they have a substantial gap of about 50 between them.  Obviosuly I want to have two separate lines.  I have also tried moving the line series below the first lines series with no success.
    <mx:ColumnChart dataTipFunction="formatDataTip"id="
    myChart" dataProvider="
    {FCVData}" showDataTips="
    true"selectionMode="
    single"change="event.stopImmediatePropagation()"
    width="
    100%" height="95%" y="50">
    <!-- vertical axis -->
    <mx:verticalAxis>
    <mx:LinearAxis title="mytitle" labelFunction="defineVerticalLabel"id="
    v1"baseAtZero="
    true" />
    </mx:verticalAxis>
    <mx:horizontalAxis>
    <mx:CategoryAxis dataProvider="
    {MYData}" categoryField="
    YEAR" 
    />
    </mx:horizontalAxis>
    <mx:series>
    <mx:ColumnSeries id="
    pb"color="
    #FFFFFF"xField="
    YEAR" yField="B
    UDGET" displayName="
    Budget"hideDataEffect="
    zoomOut" showDataEffect="
    zoomIn">
    <mx:fill>
    <mx:SolidColor color="{colColor1}"/>
    </mx:fill>
    </mx:ColumnSeries>
    <mx:LineSeries id="ls2" dataProvider="
    {MYData}" yField="
    ACTUAL"displayName="
    Actual" 
    >
    <mx:itemRenderer>  
    <mx:Component>  
    <mx:DiamondItemRenderer/>  
    </mx:Component>  
    </mx:itemRenderer>  
    <mx:lineStroke>
    <mx:Stroke color="
    {lineColor2}" weight="
    5" alpha="
    .5" 
    />
    </mx:lineStroke>  
    <mx:verticalAxis>
    <mx:LinearAxis id="v3" baseAtZero="true"/>
    </mx:verticalAxis>
    </mx:LineSeries>
    <mx:ColumnSeries
    id="
    asytd"color="
    #FFFFFF"xField="
    YEAR" yField="
    SPEND" displayName="
    Spend "hideDataEffect="
    zoomOut" showDataEffect="
    zoomIn">
    <mx:fill>
    <mx:SolidColor color="{colColor2}"/>
    </mx:fill>
    </mx:ColumnSeries>
    <mx:LineSeries id="ls1" dataProvider="
    {MYData}" yField="
    PLAN"displayName="
    Plan" 
    >
    <mx:itemRenderer>  
    <mx:Component>  
    <mx:CrossItemRenderer/>  
    </mx:Component>  
    </mx:itemRenderer>  
    <mx:lineStroke>
    <mx:Stroke color="
    {lineColor1}" weight="
    5" alpha="
    .5" 
    />
    </mx:lineStroke>  
    <mx:verticalAxis>
    <mx:LinearAxis title="title" id="v2" baseAtZero="true"/>
    </mx:verticalAxis>
    </mx:LineSeries>
    </mx:series>
    <mx:verticalAxisRenderers>
    <mx:AxisRenderer placement="left" axis="{v1}"/>
    <mx:AxisRenderer placement="right" axis="{v2}"/>
    <mx:AxisRenderer visible="false" placement="right" axis="{v3}"/>
    </mx:verticalAxisRenderers>
    </mx:ColumnChart>

    Hi,
    Still Trying:
    I've now got this code to function:
    var i:int = 0;
                    for each (var cat:* in event.result.chart.categories.category){
                        //mx.controls.Alert.show(cat.label);
                        var z:int = 0;
                        for each (var valuee:* in event.result.chart.dataset){
                            //mx.controls.Alert.show(event.result.chart.dataset[z].seriesName);
                            //mx.controls.Alert.show(valuee.sete[i].value);
                            z++;
                        i++
    which works fine, how can I get in into Array to make a dataset for the flex charts?
    Thanks,
    Elad

Maybe you are looking for

  • My battery still won't hold a charge. Can't Apple get me a new iphone under warranty?

    I have an iphone 4S. With no apps running it will die in six hours on standby. I've tried everything on the support page, rebooting, restarting, reloading the software, and it makes absolutely no difference. I've been to the Genius bar and they just

  • RMA when Orignial SO was paid thru Credit Card and Check (Multiple Payment)

    Hi, If I have an original sales order of $100 and customer has paid $100 through Credit Card and Check. Now when he is returning the material back, will RMA take the same payment methods by default? Also, when customer has purchased the material, the

  • Images with Crystal Reports

    Somebody pls. advise if it's possible to display images with Crystal Reports ?! I want to generate a Price Catalog with images.   I have uploaded images into the system. Unfortunately, Oracle Report Builder has let me down. A short tutorial on how to

  • Saving as .gif with transparency

    I have a .png file with a transparent background which I have been trying to export as a .gif with transparency in FW8. I've managed to save it as a .gif but the edges are dreadfully ragged. I seem to have tried all the options. Any ideas please?

  • How could I improve the way a pie chart shows (CR 10)?

    The pie chart has five slices - a very large one and four very small slices. I have to show labels for it, and the problem is that no matter how I try to rotate or enlarge the chart the four labels for the small slices are very close to each other. I