Dates on x-axis

Hi,
May I know how to set ticks per label automatically in display template base on number of ata nodes on the graph.
Thanks,
Srinivas.

Srinivas,
Since the iChart doesn't know how many values are being returned by the query template underneath it cannot automatically set the ticks per label.  Using the iChart's UpdateEvent to fire a JavaScript function that gets the number of data points and determines the appropriate number of ticks to display would be the recommended approach.  Consult the help docs and the methods in the Script Assistant for guidance.
Best Regards,
Jeremy Good

Similar Messages

  • Date on X axis in graph

    In which type of graph I could get date on X axis in graph other than line and bar. My graph has date in x axis and aggregate in y axis and a bubble in z axis which graph will support it.

    this is to john
    when drag and drop gantt>resource utilzation
    i try use some date to display gantt but throws error.
    so my question.? can we use date in gantt>resource utilzation.
    if i remove date. it looks fine.

  • PowerView continuous dates on x axis

    HI, I am create a line report. I am not the DB owner. The x axis consist of the date range and the Y of the values. I don;t have data for every quarter.  When I do a bar chart, I see quarters as follow: 201401, 201402, 201403,201404,201501 I set the
    axis type as "automatic". Then I changed to a line format. The x -axis now has 201410,201420,201430....201490, 201500. If I choose categories as axis type, it looks correct but has gaps in the lines. Is there something in the report I can do or something
    in the DB DB that they can do so that I can get a continuous line ? Or is this a known limitation ?
    thanks
    Heather

    Hi foucault76,
    According to your description, you created a line chart, then added date to category group and value to data area, the report works fine. After you change bar chart to line chart, the date in x axis could not display correctly. When you change axis type
    to category, data of x axis displays correctly but there are gaps in the chart.
    I tried to reproduce the issue in my local machine, but it works fine for me. In order to improve the efficiency of troubleshooting, I need to ask several questions:
    Could you provide data type of date in database? What expression do you use to convert data to the format you provided?
    “I set the axis type as "automatic”, which axis type do you use?
    What’s the state of report now? Please provide some more detailed information of your requirements. I would be appreciated it if you could provide sample data and screenshots of the report in design mode.
    This may be a lot of information to ask for at one time. However, by collecting this information now, it will help us move more quickly toward a solution.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Custom data for x-axis

    I am facing a problem with ploting a desire graph. I am acquiring data (in Volt) from peripheral and have to plot it against a calculated data in X-axis.
    the X-axis data will be calculated from time. means like that--
                                                                                                              x=t*5000*15
    the problem is -
                                     1. i have to access the time duration "t".  
                                     2. i have to plot X vs Y where Y is a real time data. 
    is it possible to access the computer clock for this purpose or I have to do somthing else? which one will be more convenient?
    Should I use XY graph or somthing else? 

    Hello Sukhiray,
    Thank you for contacting National Instruments!  It sounds like you are trying to just scale the X-axis by a multiplier.  Is that correct?  If so there is a property node that you can use that will do just that.  I have attached a screenshot that shows you how to get to the property for the X-axis multiplier. If you place a Waveform Graph on the Front Panel and then go to the Block Diagram and right click on the Waveform Graph you should be able to navigate to the property and place it on your Block Diagram.  From the formula that you have I believe you will just need to set your multiplier to 75000 and you will get the X-Axis that you desire.  I hope this helps!
    Thanks!
    Bob H
    Applications Engineer
    National Instruments
    Attachments:
    Xaxis Multiplier.JPG ‏114 KB

  • Error while posting data to sender axis soap adapter

    Hello,
    I am trying to post the data to following url
    http://sapxis:50000/XIAxisAdapter/MessageServlet?senderService=temp&interface=os%5Ftest&interfaceNamespace=http%3A%2F%2Ftest%2Ecom%2Fxi%2FPOC
    But I am getting following error:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soapenv:Body>
          <soapenv:Fault>
             <faultcode>soapenv:Server.generalException</faultcode>
             <faultstring>failed to invoke the module proessor; nested exception is:
         com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=temp;TS=null;AN=os%5Ftest;ANS=http%3A%2F%2Ftest%2Ecom%2Fxi%2FPOC;</faultstring>
             <detail>
                <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">sapxis</ns1:hostname>
             </detail>
          </soapenv:Fault>
       </soapenv:Body>
    </soapenv:Envelope>
    Please help.
    Thanks in advance,
    Beena.

    Thanks Stefan.
    Yes, sender agreement is there and it is also there in CPA Cache.
    CPAObject: (Binding) keys: ObjectId=02cb8f5717cc35e582f072b26138a0f8 values: Direction=I
    ActionNamespace=http://test.com/xi/POC ToParty= FromParty= HeaderMappingConfig=null MappedActionNamespace=null MappingClassName=null ActionName=os_test AdapterNamespace=http://sap.com/xi/XI/System MappedActionName=null ToService= AdapterSWCV=b38bcd00e47111d7afacde420a1145a5 FromService=temp AdapterType=SOAP MappingId=null Attributes=<?xml version="1.0" encoding ...
    http://sapxis:50000/XIAxisAdapter/MessageServlet page also shows the status OK for required components and Warning for optional components.
    Am I missing something?
    Thanks,
    Beena.

  • Bar chart with current date in X axis

    Hello
    I have attached a vi that I hoipe somebody can help with.
    If you look at the vi, there are two bars showing.
    1.How can I attach the current date to the X axis.
    For instance.....suppose the first bar (far left) was produced with data from yesterday...then the X axis would indicate yesterdays date.
    The next bar was produced from data obtained today, so would show todays date.....etc
    An array of dates is not suitable, as no prior date knowledge is assumed......just the current date when the bar was graphed.
    2. Can the date be vertical....or even fancier....on a 45 degree slope, upwards and to the right
    Thank you and best regards
    Ray
    Solved!
    Go to Solution.
    Attachments:
    Bar chart.vi ‏16 KB

    Hi, this will plot what ever data you got with the current date on the X Axis. But remember that since this is a graph, any new value plotted will erase the previous one. Dont have LabVIEW 9 otherwise would have checked your VI out. This plots each value with the current date.
    LabVIEW 8.2,8.6,2009...still learning
    Attachments:
    Date Plot.png ‏16 KB

  • Display ISO week number instead of date on x axis in Bar Chart

    Hi,
    I've created a simple SSRS report based on bar chart that shows several milestones. Everything works fine for me except I’m not able to convert the date into ISO week number format.
    I played around with different approaches. I was able to convert the date into an ISO week Format directly on the SQL Server. That
    wasn't a problem.
    But unfortunately I’m not able to display the week number on the horizontal axis in my Bar Chart. I tried both fields: TaskFinishDate and TaskFinishDateMS...
    I would like to show the ISO week number instead of the date within the Bar Chart on the horizontal axis.
    Any ideas/hints/help is really appreciated!
    Thanks,
    Mike

    Hi Mike,
    Per my understanding that you want to get the week number of the year based on the field "TaskFinishDate" which is datetime type and display the week number in the x-axis instead of the field "TaskFinishDate", right?
    I have check the snapshot you have provided and it seems you have change the format of the datetime field in the x-axis like "dd.MM.YYYY", If you can't make the week number to display correctly in the x-axis, the issue can be caused by you haven't
    change the format to Number in the category.
    Details information below for you reference:
    I assume you have use expression in the Label like below to convert the datatime TaskFinishDate in to ISO week number like below:
    =DatePart(DateInterval.WeekOfYear,Fields!TaskFinishDate.Value)
    or
    =DatePart("ww",Fields!TaskFinishDate.Value)
    Right click the X-axis and select the "Horizontal Axis Properties", then click the Number to change the format to "Number" as below:
    Preview you will get the weeknumber display in the x-axis correctly.
    If you still have any problem, please feel to ask.
    Regards,
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • How to plot dates on X-axis in Numbers?

    Hey all, need help!
    Have a two-column data layout, with dates in first column and values in second.  For example,
    April 12, 2009 465
    July 16, 2009 329
    Sep 2, 2009 528
    Nov 21, 2009 503
    I'd like to plot this as a scatter plot and see dates on the x-axis (a la Excel).  Alas, all it shows are numeric equivalents on the x axis, in very large numbers.
    What's the trick or solution to this?
    (I have spent a good half hour rummaging the boards here and Googling to no avail.  I did discover the DUR2DAYS trick for doing a related graph in the spreadsheet... perhaps there's a formatting trick here, too.)

    BUMP!
    Anyone?

  • Why won't Numbers allow me to reset the maximum or minimum on a date-based x-axis?

    I have a scatter chart in which the x-axis is dates.  When I first set up the chart everything works, but when I try to change the x-axis minimum or maximum, Numbers seems to go haywire. When the chart is first set up the inspector shows the x-axis minimum and maximum as "auto". If I then try to enter a new x-axis minimum (starting date), as soon as I click in another box in the inspector, Numbers arbitrarily changes the date I have just entered.  I have occasionally been able to extend the chart by changing (increasing) the x-axis maximum, but then if I try to change the minimum, the maximum suddenly changes to equal the minimum and I get a chart with the same date across the x-axis.  There seems to be no rhyme or reason for the way Numbers changes things.  Occasionally I have managed to change both dates in the way that I want and the chart looks good, only to have Numbers do the arbitrary changes when I close the inspector.  I would really like to quit using Excel, but as long as Numbers plays these games that day will never come.  Any help would be appreciated!  Thanks.

    Many thanks for you responses.  However the chart is set up correctly, and I did notice that Max is above Min in the inspector. 
    Here's what happens:
    Here is the chart with the inspector open before I enter a new minimum.
    Here is the chart with the new minimum entered, and it's looking good:
    Now here's what happens when I close the inspector. All I have done between the above screenshot and the one below is click on the red button on the inspector to close it.
    As you can see the minimum has suddenly been arbitrarily changed.
    Now I have discovered a workaround which corrects this.  That is to now choose "Undo" in the Edit menu and, voila, the desired minimum is back.
    The above is the simplest of the strange behaviors.  If one changes both the minimum and the maximum it gets stranger still, and if one keeps on trying to correct things by again and again applying the desired minimum and maximum via the inspector (without doing the Undo trick) one eventually gets a chart with the x-axis as a single date, i.e. the minimum and maximum are identical.
    I'm happy now that I know how to get what I want, but Apple needs to look into this!

  • Grouping the chart data on x-axis

    Hi,
    I am trying to plot some points on the Plot Chart. I want to
    show the Text as my x-axis, so I am using
    <mx:horizontalAxis>
    <mx:CategoryAxis
    id="a1"
    dataProvider="{expenses}"
    categoryField="Month"
    />
    </mx:horizontalAxis>
    in my code for x-axis. Now I want to plot all y-axis items
    under the same x-axis one if they are from the same 'Month' (used
    for horizontal axis). If I try to do this, I am getting more values
    on the x-axis that have same 'Month' name. Is there any way I can
    fix this problem?
    Any help would be of great help.
    I am also attaching the sample example.

    I am sorry but the whole thing makes no sense.
    What is the effect of x-axis category grouping?
    How can I aggregate info by date, i.e. in the same month or same year
    count should be added up?
    How can I show on the x-axis (time) the aggregate values?
    I just made a report with no x-axis categories, data grouped by year
    summing, and the graph that came out was with axis showing months but
    with only one bar value.
    Are there bugs in this or I just don't understand the concepts behind it?
    With time series data I would have thought the MOST OBVIOUS thing that
    people would want are:
    - aggregations over different time periods:
    - days
    - weeks
    - months
    - quarters (doesn't seem to be supported)
    - half-years (doesn't seem to be supported)
    - years
    - time axis should be linear in time - just because there are no
    values in March 2007 for example it should still have a bar which should
    show a 0 value and it should show up (currently at best it leaves a gap)
    - time axis should be relevant to the aggregation
    - grouped by years, axis should show 2005, 2006, 2007, ...
    - grouped by months, axis should show Jan 2005, Feb 2005, ....
    - currently it doesn't
    A lot of the time people just want to say give a bunch of sales info
    which is a date and a number (number of units sold on that date or
    whatever) and they want to be able to produce graphs of different
    granularity.
    Is this possible? I've been playing with this thing for weeks and can't
    get it to do this reliably.

  • Data Type in Axis SOAP

    Hi guys,
    whats the datatype mapping for xsd:anytype in Apache axis? Im posting data to a WebService but its giving me error at one of the parameters as it expects Array.
    Pls help me here,
    thanks,
    Sachin

    By using array shoud be no problem, It' more better, you use the tools in Axis to create the *.wsdl, then generate java server and client code. If it doesn't work, don't change *.wsdl, you need change the stub code to add the correct type mapping serializing method. In my case, I can translate any complix java object(selbst defined) array by using RPC call. For attachement, you can still translate DataHandler array by using RPC
    Lixin

  • Problem of data validation in Axis

    I use Axis 1.4 to implements a service.
    I write the WSDL and generate the Java code with WSDL2Java tools.
    The signature of the service is :
    public void setOrder(Customer,Date,OrderLines);
    In the Customer type there is an email attribute defined in WSDL like bellow:
    <xsd:simpleType name="emailType">
    <xsd:restriction base="xsd:string">
    <xsd:pattern value="[a-z]@[a-z0-9]+"/>
    </xsd:restriction>
    </xsd:simpleType>
    When I test the service with a valid data in the email attribure("[email protected]"), it works.
    But when I test the service with a non valid data in the email attribute ("jhhgfg"), it works !!!
    Normally it must not work.s The email attribute must be unvalidated by the Axis engine !!!

    It is a good thing that your validation is not working. If it was, it would reject "[email protected]" (that doesn't match the regex you displayed there) and a lot of other valid e-mail addresses.

  • Date format on Axis

    Hi,
    I'd like to format an X axis for a chart. This axis contains dates. The default format is canonical, which is not very user-friendly.
    I tried ViewFormat, but failed to achieve my goal with that one.
    Here is my code :
    chart:
    <Graph graphType="LINE_VERT_ABS" seriesEffect="SE_AUTO_GRADIENT"><LegendArea visible="false"/>
    <Title text="" visible="true" horizontalAlignment="CENTER"/>
    <LocalGridData colCount="{count(xdoxslt:group(current-group(), 'COTATION_DATE'))}" rowCount="1">
    <ColLabels>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select="current-group()" group-by="COTATION_DATE">
    <xsl:sort select="current-group()/COTATION_DATE"/>
    <Label>
    <xsl:value-of select="current-group()/COTATION_DATE" />
    </Label>
    </xsl:for-each-group>
    </ColLabels>
    <DataValues>
    <RowData>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select="current-group()" group-by="COTATION_DATE">
    <xsl:sort select="current-group()/COTATION_DATE"/>
    <Cell>
    <xsl:value-of select="sum(current-group()/INDEX_PRICE)"/>
    </Cell>
    </xsl:for-each-group>
    </RowData>
    </DataValues>
    </LocalGridData>
    </Graph>
    Thanks for your help.

    Well, I've sort of solved the problem. I modified my data query to include both standard date and formatted date
      select PRODUCT_NAME
                EXPIRY as EXPIRY,
                to_char(EXPIRY,'DD-MON-YYYY') as FORMATTED_EXPIRY
    from    INVENTORYand generate my chart using EXPIRY, then modify the XML Label attibute of my chart
    <ColLabels>
    <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select=".//G_MED" group-by="EXPIRY">
    <xsl:sort select="current-group()/EXPIRY"/>
    <Label>
    <xsl:value-of select="current-group()/FORMATTED_EXPIRY"/>
    </Label>
    </xsl:for-each-group>
    </ColLabels>
    Still like to hear if it's possible to achieve without having to add an extra column into the query.
    Cheers,
    Brent

  • Waterfall Report / Dates on Horizontal Axis

    I need to create a waterfall report and I have dates on my horizontal axis.  For some Reason I  cant lay out the data in order to order service dates and Posting Dates in such a way that my vertical axis labels are service dates, and my horizontal
    axis are accounting posting dates  - The values for bars in the chart should be a calculate percentage - or value -
    (I do know how to add a secondary Axis! :))
    Does anyone know how to do this in SSRS 2008R2?
    KDW

    Hi siera_gld,
    Based on my understanding, you want to order [SRVC YRMO] field on the horizontal axis and [Post Year Month] field as a series within a chart, right?
    If so, in your scenario, you can design the report like below:
    Otherwise, please provide report design and expected results for our analysis. If possible, please provide some screenshots about expected chart.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • When I upload large streams of high frequency data the x axis scales incorrectly

    I have data at 5 kHz for 20 seconds. when I upload this data into the report tab the x axis scales incorrectly and cuts off either the head or tail of the data. The x axis always rounds to the nearest second while i need it to start with the data. Any ideas?

    Hi wpruitt3,
    Take a look at this knowledge base article.
    Best,
    Kristen

  • Filling Missing Dates on Chart Axis in Web Template

    Hi,
    I have a chart in a web template that uses a range of data that is organized by date.  The data does not contain every date in the range, for example:
    Record 1:   Jan 1/09
    Record 2:   Jan 14/09
    Record 3    Feb 4/09,
    Record 4:   etc
    The requirement for this chart is to display the dates on the category axis with the axis displaying all the dates between the first and the last date even if records for the dates do not exist.  This can be done in a chart in Excel, but I have not found a way to duplicate this in a BW3.5 web template.
    Our envionment is BI7 SP13, but we are still using the BW3.5 front end tools.
    Thanks,
    Mel

    Hi Mel,
    you can solve this with a structure. First entry with variable date and all others with offset.
    regards Sven

Maybe you are looking for