AnyChart DateTime axis scale

I'm trying to display the x-axis for a chart with a "fixed" scale of months within a given period, using a Line Series chart.
My query is like
select null link,
to_char(sample_date, 'DD/MM/YYYY') label,
water_temp value
from my_table
I've followed the documentation here: http://www.anychart.com/products/anychart/docs/users-guide/DateTime-Axes.html
Sadly the markup in this guide vs the source displayed is different..ie, when you go to open the first bar chart there, the xml that is showed on the pop-up doesn't match the code in the main section, and it's missing the min/max values.
I've set up the <locale> tag as follows:
<locale>
           <date_time_format>
             <format><![CDATA[%MM/%dd/%yyyy]]></format>
           </date_time_format>
      </locale>I've modified the x-axis <scale> tag
<x_axis>
            <scale type="DateTime"  major_interval_unit="Month" minimum="01/01/1999" maximum="06/01/2012"/>
</x_axis>But I can't seem to get the chart to pick up the min's and max. From what I can get from the docs, I should be able to set the scale up on the x-axis somewhat independently from the actual data points themselves.
Is this supported and has anyone done this successfully?
Thanks in advance.
Edited by: jholoman on May 18, 2011 10:56 AM

Hi Folks
I'd like to ask if anyone has managed to get an AnyChart gauge working with date & time based axes and data values.
My development colleagues have scoured the documentation and tried several times to get this to work without any success.
The AnyChart documentation suggest that date & time based axes and data values can be used with certain chart types but is then vague about their use with the Gauge chart type.
Any tips on how to make this work would be very welcome - and if it's simply not possible, we'd like to stop chasing this particular rainbow ;-)
Many thanks
Andy
Edited by: Andy Smith on Jun 14, 2011 5:14 PM

Similar Messages

  • Axis scale for scatter plots

    I'm trying to create a specialized scatter plot, which functions similar to Excel's scatter plot. I'm having problems determining what the min and max values should be for the axes. I would like the program to determine from the input data what the initial min and max values should be on the x- and y-axis, the user can adjust later.
    So, I don't want the program to just look at the maximum value imported and round up. For instance, data = {523.7, 514.4, 271.8, 128.5}. The max value is 523.7, round up to 524. Instead, I would like to program to make 600 the largest value on the axis, because that makes it nice round number for the user to view the dataset.
    Then, I thought it really depends on the range of the data. For instance, data = {523.4, 523.8, 523.2, 522.8, 523.9}. Here, the range is very small, so it doesn't make sense to have 600 the largest value on the scale. The largest value should be 524 or 525, and the small value on the axis scale should be 521 or 522.
    Has anyone else ever worked with this problem, or have a good solution? I would really appreciate it, I've spend way too many days working on this.
    Thank you,
    Joe

    This is off the top of my head and based on a slight variation of your data.
    data: 52.34, 52.38, 52.32, 52.28, 52.39
    min=52.28 max=52.39 range=0.11
    Looking at the range we see it is "on the order of" 0.1. Ie, it is closer to the next lower power of 10 (0.1) than it is to the next higher one (1.0). So we round min down to the next lowest multiple of 0.1 (52.2) and round max up (52.4). 52.2 and 52.4 can serve as the nice numbers.
    The range is just a little bigger than a power of 10, so it might be a good idea to check what happens when it's a little less.
    data: 135 226 141 143 etc
    min=135 max=226 range=91
    range is on the order of 100, and the nice numbers are 100 and 300.
    As a variation on this strategy if we always find the power of 10 below the range (10 in the second example) we get a tighter fit but the numbers are slightly less nice - 130 and 220.
    (I'm pretty sure I've seen - and used! - some java software from the Internet somewhere to find the best scale for axes, so it might pay to look around)
    Had to edit my second example and, while I was waiting, found what I have used for this sort of thing: http://geosoft.no/software/index.html (The NiceNumbers class - it finds numbers along a range suitable for major and minor "ticks" but, if memory serves me correctly it extends the range so that the ends are nice too.)

  • Distribute​d System Manager trend y-axis scale

    I've been trying to monitor some boolean shared variables in the Distributed System Manager.  I've been looking at the trend, but I can't find a way to change the y-axis scale from 0-100.  With that scale, I can't see if a value switches from 0 to 1. Is there a way to change the scale?
    Thanks!
    Emily
    LV2012

    Nevermind, I see that it auto-scales now, the one that I was looking at, I was expecting to change, but it wasn't...

  • 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

  • I have a datetime axis stuck on 1970  for both min and max..

    I have a datetime axis stuck on 1970 for both min and max..
    The lineseries dataprovider has an array collection with objects
    with each object having a dateAdded2 attribute of format mm/dd/yyyy
    and the dates are in this year 2008. the objects also have an
    attribute called amount which is a number.
    eg
    object.dateAdded2 = "07/14/2008"
    object.amount =5
    Anyone with any idea what is going wrong? Similar type of
    data works fine in my other charts.

    Pull the CPU cover and look for leaks from the LCS.
    If the gray mat is wet, the LCS has leaked and the machine will soon be dead.
    PowerMac G5 Coolant Leaks/Repairs
    PowerMac G5 Coolant Leak Repair/Overhaul (w/photos)

  • Apex Chart - Y Axis Scale customization

    Hi all,
    For a chart in Apex, is it possible to have the Y-Axis scale customized? (Let's say to present all values form 2 and 2 units for instance).
    Thank you,
    Ana-Maria

    Hi Prashant Khadatkar,
    As per my understanding, you created a line chart, you added JobStartTime and JobEndTime to values area, and added JobStartDate to category groups. You want to display data of y axis from PM to AM. In order to improve the efficiency of troubleshooting, I
    need to ask several questions:
    What’s the data type of JobStartTime and JobEndTime?
    Is the data stored in database the same as you provided?
    What’s the state of report now? Please provide some more detailed information of the report. I would be appreciated it if you could provide sample data and screenshot of the report.
    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

  • How to change the Y-axis scale for 100% stacked column to percentage ?

    Hi,
    I add a 100% stacked column chart to a report in Crystal Report for Enterprise. As default, the Y-axis scale shows value from 0 to 1 and the data labels display absoluted data value. Now I want the Y-axis scale to show value from 0% to 100% and the data labels to display percentage value.
    Please tell me which option of the chart to adjust ?
    Thanks
    Mau Vu Huu
    The default is like screenshot below:
    I want it to display as screenshot below:
    thanks
    Mau Vu Huu

    Looks like a bug in CR for Enterprise.
    The same chart shows a scale from 0% to 100% in the CR 2011 designer whereas CR for Enterprise seems to show a number range from 0 to 1.
    Here's a workaround:
    1) Insert a Crosstab. 'Column' should be the field you wish to show on the 'X-axis'. 'Row' should be the field that you wish to stack up on the bars. Summary should be the measure field
    2) Next, right-click one of the summary cells on the Crosstab > Select Format Total > Total > Check 'Show as Percentage of' > Grand Total > Row
    3) Right-click the Crosstab > Select Create Chart from Crosstab Data
    4) Suppress the section that holds the Crosstab
    5) Right-click the chart > Edit Chart Type > Choose 'Stacked Column'
    6) Highlight one of the numbers of the Y-axis > Select Format Total (Y) axis > Format > Currency > Choose 'Fixed' under 'Symbol Format' > Replace '$' under Symbol to '%' > Change Symbol Position to '-123$'.
    -Abhilash

  • Y Axis scale issue

    Hi there,
    I've a dynamically driven (through XML) column chart. everything works just fine except the Y axis scale. depending on the data it changes the divisions and some times it looks very odd.
    I tried with Auto (Y) axis option then tried giving manual values by determining the MIN and MAX values through XL formulas, but no luck.
    Also tried setting the number of divisions to say 6 - unfortunately, it doesn't seem be listening to any of these settings.
    Is there any other better way to control this?
    please advice
    Malik

    Hi Prashant Khadatkar,
    As per my understanding, you created a line chart, you added JobStartTime and JobEndTime to values area, and added JobStartDate to category groups. You want to display data of y axis from PM to AM. In order to improve the efficiency of troubleshooting, I
    need to ask several questions:
    What’s the data type of JobStartTime and JobEndTime?
    Is the data stored in database the same as you provided?
    What’s the state of report now? Please provide some more detailed information of the report. I would be appreciated it if you could provide sample data and screenshot of the report.
    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

  • How to display a fixed min and open max Y axis scale on obiee 11g

    Hi,
    I am stuck with an issue.
    Obiee by default is plotting my bar chart with Y axis scale from -50 to 850 with and interval of 100.
    In the graph non of the value is negative of below zero. The graph too plots all the points above 0, even then it starts the Y scale from -50, not sure why?
    I wanted to know whether we can by anyway limit the y axis scale with lower limit to 0 and still keep the upper limit open or undefined.
    Please let me know if any of you have come across such scenarios?
    Thanks

    > I want to plot log(log(y)) vs x. On the y-axis of the graph I need to
    > display 'y', NOT log(y) or log(log(y)). How do I adjust the scale to
    > allow for this?
    >
    > {I do realize that I can plot log(y) vs x and display 'y' by using the
    > Logarithmic scale option.}
    Not being that familiar with the typical labeling on log(log) plots, you
    may be able to do this using two scales. Make a graph that contains two
    scales. One will be plotted against, the other will be just for labeling.
    You can now transform your diagram data, which will change how the mapped
    scale is labeled, but the other scale can show whatever you like in linear
    or log form.
    In otherwords, on the diagram, perform log10 on your data, then display on
    a log scale that is hidden. Make another scale vi
    sible with linear or log
    data. Or perform log10(log10) on your data, display on a hidden linear
    scale.
    I'm not sure how well this will work. If it is insufficient, you can submit
    a feature request on the web site.
    Greg McKaskle

  • Oracle Report Graph flexible minimum and maximum y axis scale values

    I have a report that generates graphs based on a group column , i want to set the y format min and max scales of the graph of each graph generated as the max and min of the group data from which each graph is created.
    there is one graph control in the repeater and it generates several graphs based on the group column, from the properties i can set one y format min and max scale for all the graphs that will be generated in the repeator
    can i some how set in format trigger each time the repeator runs and i set the min and max values of the graph y axis scales.
    Please help.

    Any Experts here.. Please help

  • How to put percentage sign on the Y-axis scale

    Hi all,
    I want to draw a column chart to show the percentage share. And I want my Y-axis scale has '%' ended, like "10%, 20%, 30%..up to 100%". In my test, it seems that only numerical text can be shown on the Y-axis scale.
    Are there any ways to implement what I want?
    Thanks & regards,
    Dicky

    I just saw that this message is posted in the SAP NetWeaver Visual Composer area. VC does not use IGS charts. If you would use IGS charts my answer would be:
    Hi Dicky,
    in the Chart Designer go to the Value Axis Line properties and set the Format to "00 %". This should show what you are expecting.
    Best regards
    Matthias
    Message was edited by:
            Matthias Gemmel

  • Force Y-Axis scale to be whole numbers

    Does anyone know how to force the y-axis scale of a bar chart to be use whole numbers when you are doing automatic ranging?  I am using a bar chart to show counts by categories.  I know you can do this if the range is static, but I don't know for sure what the maximum counts are going to be, so I need automatic ranging.  When we have values of say 10 or more for each category, the chart looks reasonable, but if we only have a values of 2 or 3 for the categories, the chart y-axis might have a scale of .4, .8, 1.2, 1.6 etc.  This looks goofy when we are graphing counts, which can only be whole numbers.  Can I force automatic ranging to use integers?  I am using Crystal 2008.
    Thanks for any help you can give me.

    If all else fails, this is a feature in our CRChart add-on library for Crystal Reports.
    Macro @SCALE_INTERVAL would do exactly what you want. It's a new feature in the soon-to-be-released version 3.6 however, so you'll need to contact us directly to get an advance copy of the 30day free demo of 3.6  (3.52 is version on our website).
    -Dan
    DISCLAIMER: I work for the company, threedgraphics.com, that makes this product. This product costs money.

  • Combo chart- left right y-axis scale are not the same scale

    http://img20.imageshack.us/img20/6264/questionk.png
    the left and right axis scale are not the same.
    how to set it?
    Thank you very much!

    Hi,
    Try this
    In Chart, Goto Advanced properties -> check Synchronize Line and Bar Axis
    This will make both scale values same.
    Thanks,
    Vino

  • SQL-Developer  4.0.0.13.80 Bug? No negative values for axis scale accepted

    I reported this problem already for the versions EA1 and EA2 of SQL-Developer 4 (4.0EA1 No negative values for axis scales in diagrams) but it still exists in 4.0.0.13.80:  Even if it is now possible to define the minimum and maximum values for the y-axis of a diagram, I found no way to enter negative values for the minimum value. Neither -100 nor (100) is accepted. The value always switches to 0. I have a report which shows values from -97 to 387. Automatic scaling sets the y-axis from -200 to 500 but I would prefer a scale from -100 to 400. How is this possible?
    btw.: the German translation for "scale" in the diagram settings is bad. It is translated with "Nachkommastellen" but it should be "Skalierung".

    In 4.0EA2 this topic is still not fixed.

  • Datetime axis to shrink so that it cuts out the intervals that represent weekends

    Is it possible to get a datetime axis to shrink so that it
    cuts out the intervals that represent weekends on the axis? I'm
    plotting financial data.

    "To disable days of the week or ranges of days in your
    charts, you must set the dataUnits property of the DateTimeAxis
    object to days. You then use the disabledDays or disabledRanges
    properties of the DateTimeAxis object."
    For more info, I think this will help:
    http://livedocs.adobe.com/flex/3/html/help.html?content=charts_displayingdata_04.html
    hth,
    matt horn
    flex docs

Maybe you are looking for

  • Problems swapping external displays

    I use my MacBookPro with two external displays (not simultaneously), with the MBP lid shut. I have an Apple 20" cinema dispay in the office and an Acer (can't remember the model) at home. When I take my MBP home and plug it into the Acer the MBP does

  • How do I write javascript for a text block to extract name from signature block?

    Hello, I've created a training certificate that the trainee has to sign electronically. To prevent someone from simply putting in their friends name in there and saving it; to send to their friend and help them from having to take the training and qu

  • Partition on 1TB firewire drive

    I have ordered a 1TB firewire harddrive as I am out of space on my iMac (250gb). Is it best to leave the drive as one volume or partition it. In other words, what is the point of partitioning a drive? Benefits, shortcomings etc etc Thanks for any adv

  • Getting to the phone key pad from the call icon in the Hub

    Why is it that in the Phone Icon in the Hub the phone keypad cannot be found and a speed dial call cannot be made? Why one has to exit the Hub Call Icon, and then get back in the phobe Icon out of the hub, to then go to the screen with the keypad to

  • Tapes or mini DVDs?

    I use iMovie to edit for my websites and to prepare footage for DVDs to preserve family history. I'm going to purchase a new camcorder. Two questions: Should I purchase a HD camera? More important: should I purchase a camera that uses tapes or mini D