Ensuring data shown on Candlestick chart

Hi all,
I am using a Candlestick chart (otherwise known as box-and-whisker - there is a central box region with a line extending above and below, typically used to show complet and typical ranges of a value). When I change the vertical axis min and max, the points are no longer displayed if any portion of the whole thing goes out of range (eg the top of the whisker is above the axis max, but the rest of the plot is within range). Does anyone know if there is a setting to force display if _any_ part of the display is in range?
Thanks, Richard

Natasha and all,
after a few weeks I went back to this and trawled through some Adobe information and found that in fact it was easier than I expected. Any chart series has a filterData property which is set to true by default. If true then some optimisation code means that the chart makes no attempt to draw things it considers out-of-range. If you set it to false then for that series the chart will attempt to draw all points regardless of values. In the case of a candlestick chart with a reasonable number of data values then this is just what you want - the partial candlestick area is shown and the ordinary area clipping means that Flex does not attempt to draw outside the axes. It also works for situations like where you have a line marked on top of another series (maybe a threshold line at a fixed value) which again runs the risk of being clipped if you zoom. You need to be careful if the series has large numbers of points, since the optimisation which is on by default is intended to prevent the code doing unnecessary work, but in my case it was just what was needed.
Richard

Similar Messages

  • How to get ONLY the data shown in the plot area (Chart)

    My chart history length are 120000, often I don't need to save the whole
    buffer, just the data shown in the plot area?
    Richard Pettersen

    Hi Richard,
    you haven't said which version of LabVIEW you're using, so I've assumed 6.1, although this should be fine for older versions too.
    I put down a chart with a scrollbar, so I could go through the old data, and put an indicator attached to the x-scale->Range->minimum and x-scale->Range->maximum. These followed the displayed elements in the chart as I scrolled through the data. You can therefore link in the chart history (history data property of the chart) with a array subset to retrieve the appropriate portion.
    Be aware though. The minimum and maximum that the chart is showing on the x-scale may not be a part of the history data. E.g. if I set the history length to 1000 points, and produce on the first run, 1000 points, then my minimum and maximum are a
    t say 899 and 999. I then produce a second set of data, 1000 points long, and my min and max move to 1899 and 1999. As my history data is only 1000 long, I can scroll back to 1000 OK, but my min and max used as indexes don't relate anymore. The array of data is from 0 to 999, but my indexes can run from 1000 to 1999. So I have to add in a check that sees how much data is available before attempting to index, and then it's down to the flow of the program to try to work out where the data actually is (I'll leave that one to you - you'll need to keep track of the history data compared to the maximum (shown just after a point is added though this then makes a mess of your data! - possible to keep a track of new minimum when adding new data : the maximum (which will show once new data goes on) minus the history length gives the minimum that can be scrolled to - subtract this from all max's and min's to get real offset into the data - history length can be got from the history data and an a
    rray size sub .vi)
    Obviously there's no problem if you're clearing the graph everytime you either plot new data, or reach maximum capacity on the history data as the indexes return to zero.
    Hope that helps
    S.
    // it takes almost no time to rate an answer

  • How to dynamically display data labels in area chart

    Hello, everyone,
    I have an stacked area chart with the data set as follows:
    Values: sales
    Category Group: date
    Series Group: products
    Now I have an requirement to display the data labels in the chart for the top 3 products with the highest sales within a certain time period (based on the date parameter). E.g. product1 in the product 1 area, product 2 in the product 2 area, etc.
    Is this possible? If so how do I go about doing it?
    Your help is much appreciated
    Kind regards

    Hi QQFA,
    According to your description, you have a stacked area chart. Values is sales, Category  Group is date, and Series Group is product. Now you want to show only top 3 products which has the highest sales data labels for each date.
    In SQL SERVER Reporting Service, we can achieve this goal by using expression in Series Label Properties setting. I have tested it on my local environment, you can follow these steps below:
    Create a new DataSet(name is “top3”).
    Select use a embedded dataset in my report and put
          “ select * from(
          select Product,Sales,[Date],
          ROW_NUMBER() over (partition by [Date] order by Sales desc) as rn
          from #temp)
          where rn<4 ”
        into Query.
    Right Click on your chart, select “show Data Labels”.
    Right Click on any label that just appeared, select Series Labels Properties .
    Click the “fx” next to Label data textbox.
    Type the expression below into Set expression for Label :
         “=IIF(InStr(Join(
         lookupset(Fields!Date.Value,Fields!Date.Value,Fields!Product.Value,
         "top3"),","),Fields!Product.Value)>0,Fields!Sales.Value,"")”
         (Ps: the “lookupset” function is only supported  in SQL SERVER 2008 R2 or later) 
    Click “OK”.
    Save and preview the chart ,as shown here:
    Now your chart will show you the top 3 highest sales product data labels in corresponding area.
    Reference:
    LookupSet Function
    Expression and Functions
    If you have any question ,please feel free to ask.
    Best Regards,
    Simon

  • Problems with date in stacked bar charts

    I am having a lot of problems trying to generate stacked bar charts where one of the fields is a date. Using the chart generator in word, the stacked bar charts work perfectly if I use (for example) Labels=Country, Series=Product, Values=Quantity(Sum) . The correct quantities are shown.
    However if I change Country to Expiry (date), the quantities are all wrong ? Such that I have no idea how it is obtaining the values.
    The generated code is :
    <Graph depthAngle="50" depthRadius="8" pieDepth="30" pieTilt="20"
           seriesEffect="SE_AUTO_GRADIENT" graphType="BAR_VERT_STACK">
      <Title text="" visible="true" horizontalAlignment="CENTER"/>
      <LocalGridData colCount="{count(xdoxslt:group(.//G_MED,  'EXPIRY'))}"
                     rowCount="{count(xdoxslt:group(.//G_MED,  'PRODUCT'))}">
        <RowLabels>
          <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                              select=".//G_MED" group-by="PRODUCT">
            <Label>
              <xsl:value-of select="current-group()/PRODUCT"/>
            </Label>
          </xsl:for-each-group>
        </RowLabels>
        <ColLabels>
          <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                              select=".//G_MED" group-by="EXPIRY">
            <Label>
              <xsl:value-of select="current-group()/EXPIRY"/>
            </Label>
          </xsl:for-each-group>
        </ColLabels>
        <DataValues>
          <xsl:for-each-group xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                              select=".//G_MED" group-by="PRODUCT">
            <RowData>
              <xsl:for-each-group select="current-group()" group-by="EXPIRY">
                <Cell>
                  <xsl:value-of select="sum(current-group()/QUANTITY)"/>
                </Cell>
              </xsl:for-each-group>
            </RowData>
          </xsl:for-each-group>
        </DataValues>
      </LocalGridData>
    </Graph>Any help would be greatly appreciated !
    Cheers,
    Brent

    Thank you all for your replies so far:
    @Alex: You are right, using your short script in sqlplus gives me also 2009 as result
    So, I am now posting the essential excerpts of the procedure because the whole one is to large:
    function insert_szrl (my_fremd_name varchar, my_elementadresse varchar,
    my_zeitstempel varchar, my_wert float,
    my_status varchar, my_zyklus varchar,
    my_offset integer,
    my_quelle varchar, my_nzm_daten integer) return integer is
    begin
    my_date := to_date (substr (my_zeitstempel, 1, 10), 'dd.mm.yyyy') + my_tageswechsel +1/24;
    if my_zyklus = 'mm' then
    my_zeitstempeldate := add_months(to_date(last_day(to_date(my_date, 'dd.mm.yyyy')), 'dd.mm.yyyy'),-1) +1 + (my_tageswechsel+1/24);
    my_days := to_date(last_day(to_date(my_date, 'dd.mm.yyyy')), 'dd.mm.yyyy') - add_months(to_date(last_day(to_date(my_date, 'dd.mm.yyyy')), 'dd.mm.yyyy'),-1);
    my_year := to_number(to_char(to_date(my_date,'dd.mm.yyyy'), 'yyyy'));
    ptime.umschalttage_tuned (my_year, my_ws, my_sw);
    end if;
    While debugging the complete procedure I see since the start only a date which looks like '01.04.2009 07:00:00'
    Edited by: user10994305 on 19.05.2009 15:58
    Edited by: user10994305 on 19.05.2009 15:58

  • Excel Services with SharePoint List Data in SharePoint 2013 - Chart is not refreshing automatically

    Hi Everyone,
    This is My req: I m going to display pie chart and Bar chart in share point 2013.
    Steps I have follwed:
    1. Export the list to excel.
    2.Using the Power Pivot table I have done the chart.
    3. Uploaded into document Library.
    4. Added into the web part. 
    Chart are displaying. But When ever user added the data into the list chart is refreshing.
    Is there any option to refresh the data in chart? Waiting for valuable replies.
    Regards, Manoj Prabakar

    SharePoint lists as data sources in Excel Services is not supported.That's the reason refreshing is not working. There are some work around you can use  -
    Export as Data Feed - Export your SharePoint list as Data Feed , use this data feed to a PowerPivot for Excel workbook and publish this PowerPivot using Excel Services.
    User-defined functions  - write UDF in C# and extend the Excel Services functionality to work with SharePoint lists.
    https://msdn.microsoft.com/library/bb267252(office.12).aspx#Office2007ExcelServicesUnlimited_SharePointLists
    Web Services API -
    The Web Services API can be used to push data from a database and then refresh the data in a SharePoint Server list by using Excel Services.
    JavaScript Object Model - The JavaScript Object Model for Excel Services in Microsoft SharePoint Server 2010 provides many solutions for Excel Services.
    More details  - 
    https://technet.microsoft.com/en-us/library/gg576960.aspx
    Thanks
    Ganesh Jat [My Blog |
    LinkedIn | Twitter ]
    Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful.

  • How to take the print out of the entire data from the waveform chart

    i am using cont acq to spreadsheet file.vi to acquire data from a number of channels. this vi also plots the acquired data on the waveform chart. i want to take the print out of the entire data. how can i do it ?
    also how can i take print out of the data between given interval??
    please reply me
    thank you

    There are a number of different ways of achieving your goal. Depending on which version of LabVIEW you have and which development environment, the Report Generation Toolkit is a very powerful tool. Attached is an example that prints the acquired data without the use of additional toolkits.
    Jonathan Hildyard
    Applications Engineer
    National Instruments
    Attachments:
    DAQ_with_Print.llb ‏115 KB

  • No Data Shown because an error occurred while running the query

    Discoverer 10gR2 using Plus on Firefox:
    I have one workbook. The first sheet summarizes by Vendor. Parameters are Type, Category, Vendor (all optional) and mandatory date range.
    The second sheet summarized by Vendor and Model. Parameters are Type, Category, Vendor, Model (all optional) and mandatory date range.
    All parameters except the extra "Model" are shared between the sheets.
    When I run the Vendor sheet, parameters pop up, I put in dates and leave the rest blank. Results display. Yeah!
    When I then run the Model sheet, parameters pop up again (because it has one more parameter). Dates carry forward, leave the rest blank. I get the error No Data Shown because an error occurred while running the query. Refreshing does not help.
    If I click back to the Vendor sheet, then come back to the Model sheet, no parameter screen and the query runs.
    Booooo.
    Have tried multiple DBs, multiple EULs, multiple underlying data sources, replacing the offending parameter with a whole new one, no difference.
    Has any body run into this behavior? Is there an answer?
    -- Ron Olcott, Business Intelligence Product Manager

    What about trying this. On the parameter definition, you have a section on the bottom left of the Parameters window, called "Do you want to allow different parameter values for each worksheet?". When you say in your posting that all but the Model parameter is shared, I assume you mean that you have set this section value to "Allow only one set of paratmeter values for all worksheets". Try setting this to "Allow different parameter values for each worksheet". See if that might make a difference for you. If that works, you may have to leave the option at this, as the lesser of your evils. From my limited experience, the "Allow only one set of parameter mvalues for all worksheets" is a bit flaky in how it works. So I pretty much have gone to always saying to allow different parameter values for each worksheet. Hope this helps a bit. If worse comes to worse, if you have not done so already, log a service request with support and see what they say. Good luck.
    John DIckey

  • Assigning a Data Source to a Chart via JavaScript

    Dear all,
    Is it possible to assign a Data Source to a Chart via coding ?
    something like :
    CHART_1.setDataSource ...
    Many thanks
    Hans

    I ran into the same problem.  You can't dynamically switch DataSources for a chart, however, you can re-assign a DataSource to a different query.
    I have a chart assigned to DS_1:
    On startup, I need to check a flag, and use a different query based on the value of the flag.
    Since I can't dynamically switch the DataSource for the chart, I simply switch the query that feeds the DataSource like this:
    I hope this helps.

  • Data values on Bar Chart in a BI Publisher report (11g)

    I have a bar chart that I created via the layout editor in BI Publisher 11g, and I'm displaying the data values on the chart. That part works great. However, we're noticing that the chart adds zeros to the end of the data values depending on the length of the number being passed to the chart. My data item is a number that is 5 bytes in total, with 2 decimals. If the data value is *10.10*, the data displayed on the bar chart shows *10.10*. But when my data value is *1.10*, the data displayed on the bar chart is *1.100*. And if my data value is *.10*, the bar chart displays *0.1000*. The bar chart adds zeros to the end as the number of characters to the left of the decimal decreases.
    I don't see a way to make it not do that. Has anyone else run into this, and been able to change it?

    Basically what are you trying to do :
    Attaching Mutiple Data Definition to a XML Program and deciding which one to call ased on parameter.Sorry you can not do that one Data DEfinition per Report.
    ut there is one way of doing that.
    Create multiple data defintion( mutiple programs) and then a master program something like
    IF Master Program Param1 = 'X'
    call BI Program 1
    ELSIF Master Program Param1 = 'Y'
    call I Program 2....
    End IF;

  • Last payment date shown in credit master sheet is wrong.

    Hi,
    The last payment date and amount in the credit master sheet S_ALR_87012218 does not reflect the true last payment info. As per the payment history list, there have been more recent last payments after the last payment date shown on the credit master sheet, however i dont know why the actual last payment info is not being shown on the credit master sheet.
    Can someone help?

    Hi
    When running credit master sheet make sure you are looking into correct credit control area where the payment has been entered. I am sure to update credit master sheet you do not need to run any program, this report updates figure online (at the same time). If you want to make sure its working take any customer having outstanding invoice on account. Make entry using transaction F-28, go back to credit mast sheet correct credti contrl area and you will be able to see updated amount.
    I don`t know what t.code you are using to do incoming payment entery? Balance will not be updated properly in the reports if you are using wrong posting keys. Posting Key should be 15 inorder to update correct balance on customer report.
    Hope this will help

  • Date Format in SAP chart customizing - Gantt

    Hello Everybody,
    I have problems with date format in Gantt chart coding in
    ABAP using xml concatenate,
    when i am customizing the xml from chart designer.
    I want Time(X) axis  in Days but its showing in quarters or weeks.
    I also tried with LineFormat but i could not get control over it.
    can anybody please help me!!!
    here is my code:
    xml = '<?xml version="1.0" encoding="utf-8" ?><SAPChartCustomizing version="2.0">'.
      CONCATENATE xml '<GlobalSettings><Dimension>PseudoThree</Dimension>' INTO xml.
      CONCATENATE xml '  <TransparentColor>None</TransparentColor>' INTO xml.
      CONCATENATE xml '  <ColorPalette>Tradeshow</ColorPalette>' INTO xml.
      CONCATENATE xml '  <ColorOrder>Default</ColorOrder>' INTO xml.
      CONCATENATE xml '<Defaults><ChartType>Gantt</ChartType></Defaults></GlobalSettings>' INTO xml.
    CONCATENATE xml '<Values><Series><LineType>Direct</LineType><LineType1>Year</LineType1>
    <LineType2>Month</LineType2><LineType3>Day</LineType3><LineWidth>2</LineWidth>
    <MarkerShape>None</MarkerShape></Series></Values></SAPChartCustomizing>'
    INTO xml.
    *SEND CUSTOMIZING TO CHART ENGINE:
      lo_chart->set_customizing( data = xml ).
    Thanks in advance
    Bobby

    Hi Vijay,
    It's for ABAP only could you please post the solution.
    here i would like to share how i have given my series values:
    xml = '<?xml version="1.0"?>'.
      CONCATENATE xml '<ChartData>' INTO xml.
      CONCATENATE xml ' <Categories>' INTO xml.
      CONCATENATE xml '   <Category>Mat 1</Category>' INTO xml.
      CONCATENATE xml '   <Category>Mat 2</Category>' INTO xml.
      CONCATENATE xml '   <Category>Mat 3</Category>' INTO xml.
      CONCATENATE xml ' </Categories>' INTO xml.
      CONCATENATE xml ' <Series label="Op10" Customizing="Op10">' INTO xml.
      CONCATENATE xml '   <Point><Value type="time">20010101</Value>' INTO xml.
      CONCATENATE xml '   <Value type="time">20010115</Value>' INTO xml.
      CONCATENATE xml '   <Value type="time">20010120</Value>' INTO xml.
      CONCATENATE xml '   <Value type="time">20010130</Value></Point>' INTO xml.
      CONCATENATE xml '   <Point><Value type="time">20010101</Value>' INTO xml.
      CONCATENATE xml '   <Value type="time">20010125</Value></Point>' INTO xml.
      CONCATENATE xml ' </Series>' INTO xml.
    Thanks again.
    Bobby

  • Add data series to excel chart

    I have an envelope on a chart in Excel.  I would like to add same test data to the chart.  I can open the workbook and get my data on a worksheet, but can't figure out how to add the data series to the chart using ActiveX.

    Here is some vi's that I forgot that I had for excel. In it is one vi in particular called create chart.vi have alook at it. I'm sending you the whole llb. i have not tested them in LV 8 yet.
    hope they help.
    Joe.
    "NOTHING IS EVER EASY"
    Attachments:
    excel.llb ‏2092 KB

  • How to save data from a waveform chart to a file?

    Hi! I have a question:how to save a real time data from a waveform chart? attachement is a example,how can i do to save the data from 0 second to 25 seconds to a file ?thanks!
    Attachments:
    example.vi ‏23 KB

    You can use a property node to get the chart history as a array. Then you can write that data to the file. The data in the array in you example can also be writen to a file. If you only wnat a portion of the data to be saved, use the Array Subset function to get the part you want.
    Lynn

  • Export all data from my waveform chart to excel

    Hello, my name is Chris. I am just learning to use LabView. Everything I have learned so far is through these boards. Which is a valuable tool for someone learning. The VI I am working on is to monitor current from a unit we are testing. I am able to monitor current and have it running in what I believe to be real time. As I said, this is the first one I have made. I am trying to export all the data from my Waveform Chart to a report. Everytime I try I get one instance and it measures 0. I don't know what I am doing wrong. Any help would be appreciated. Also, if you have any suggestions on the all around working of this I would appreciate that as well. Thank you in advance.
    Attachments:
    Lp Current Test.vi ‏83 KB

    Hey Christophrt,
    If you are trying to display the microseconds for a waveform chart in LabVIEW here is how you can do it:
    Go to the Chart Properties>Display Format>X-Axis>Advanced editing mode>enter:
    %<%I:%M:%S%6u>T  as the format string and you will have the hours: minutes: and seconds to the microseconds. 
    If you are trying to display the exported data in microseconds in Excel, you will probably have to do some formatting changes in Excel to have that work.
    Regards,
    Tommy G.
    Applications Engineer
    National Instruments

  • Error starting data collection CPU Utilization Chart

    I encountered this error when tried to display any charts in Performance Manager of OEM. There are 2 error messages on separate popup window. Here the 1st error messages:
    VTM-0048 : Error starting data collection CPU Utilization Chart
    java.lang.NoClassDefFoundError: oracle/sysman/vtm/chart/VtmPieChart
    at
    at oracle.sysman.vtm.chart.VtmChartFactory.getChart(VtmChartFactory.java:212)
    at oracle.sysman.vtm.VtmChartPanel.createChart(VtmChartPanel.java:391)
    at oracle.sysman.vtm.VtmChartPanel.startCollection(VtmChartPanel.java:1179)
    at oracle.sysman.vtm.VtmChartPanel.startCollection(VtmChartPanel.java:1194)
    at oracle.sysman.vtm.VtmChartPanel.startRecording(VtmChartPanel.java:1801)
    2nd error message came out following the 1st error message:
    VTM-0002 : Error displaying chart CPU Utilization Chart
    java.lang.NoClassDefFoundError: netcharts/graphics/NFDwellObserver
    at
    at oracle.sysman.vtm.chart.VtmChartFactory.getChart(VtmChartFactory.java:212)
    at oracle.sysman.vtm.VtmChartPanel.createChart(VtmChartPanel.java:391)
    at oracle.sysman.vtm.VtmChartPanel.setChartType(VtmChartPanel.java:815)
    at oracle.sysman.vtm.VtmChartPanel.processNewData(VtmChartPanel.java:733)
    at oracle.sysman.vtm.VtmVPClient.sampleComplete(VtmVPClient.java:214)
    Does anyone know how to fix it ?
    Regards,
    Tom

    Thans Dan,
    I have gone in the program UGMDSYNC, and getting few Gls which have not assigned Cons Chart  of account.
    Kindly tell me how to assign chart of account to these GL account?

Maybe you are looking for

  • ITunes x64 on Win 7 Crashes When Importing

    When I attempt to import a song or folder iTunes crashes simply saying "iTunes has stopped working" but when I look in the Event Viewer I find this: Faulting application name: iTunes.exe, version: 10.5.2.11, time stamp: 0x4ee0844d Faulting module nam

  • Imac starts with a black screen and flashing white light on console

    I have a 24" imac, it is white and it is from the first year they used the intel chip. When I power it up I get a black blank screen and then the white light on the lower right side of the console flashes on and off. I hear the disk drive spin (I put

  • Need to open reports in another CMS

    Hi , I have some reports which belongs to CMS1. unfortunately my CMS1 is corrupted and i lost all report s any how i got back from file reposistory all my reports and universe now i uninstalled CMS1 and insatlled CMS again in the same machine. Now i

  • Daily, weekly and monthly acitivities in Oracle EBS 11i

    Hi All, I need to know the daily, weekly and monthly maintainance activities for Oracle EBS 11i . tq

  • No categ. schema assigned to applic. area(SERVICE_ORDER, SUBJECT_PROFILE, )

    Hi SAP CRM experts, I'm working on SAP CRM 2007 with interaction centre web UI - Service Tickets management. I'm encountering a problem with multilevel categorization: let suppose that I identify an employee, the Interaction record is created, than I