Scrolling Chart ?

Hi,
While googling for the solution,  I came across this useful link
http://www.connectedpixel.com/blog/scrollingcharts
Since my bar chart has multiple x axis, the above solution is not working for me.
Another googling led to this site
http://www.iwobanas.com/tag/flex-3/
But this does not support bar chart.
Any other suggestion which is free to use and does not carry any ad link will be highly apppreciated.
Thanks,
Rabin.

Ryan_McGee wrote:
I need to create a chart that has data flowing vertically from the top down. The only chart modes I see are for horizontal data flow and not verticle.
Maybe do you need a chart with the vertical scrollbar? If so, it is not available in LV.
- Partha
LabVIEW - Wires that catch bugs!

Similar Messages

  • Scroll Chart Without Zooming

    Hello,
    I want to scroll my Line chart but without zooming the chart is it possible if so how can i achieve this ?My second question is how can i enable and disable this scroll bar with the help of two buttons one for enabling scrollbar and second for disabling.

    Hello,
    Thank you for your efforts sir,
    Zooming for Line chart is OK But i dont want to apply any scroolbar or zooming to my Column chart that is what i want. I want to aplly scrollbar and zooming conditionly.
    If it is Line chart scroll and zooming will be applied as in your code i.e by using below code and code helped me too in understanding but and if it is column chart then no scroll bar and zooming should be applied
    Chart1.ChartAreas(0).CursorX.AutoScroll = True
    Chart1.ChartAreas(0).AxisX.ScaleView.Zoom(0, 200)
    Chart1.ChartAreas(0).AxisX.ScaleView.SmallScrollSize = 5
    Chart1.ChartAreas(0).AxisX.ScaleView.Zoomable = False
    Chart1.ChartAreas(0).AxisX.ScrollBar.ButtonStyle = DataVisualization.Charting.ScrollBarButtonStyles.SmallScroll
    Chart1.ChartAreas(0).CursorX.AutoScroll = False
    'Chart1.ChartAreas(0).CursorX.IsUserEnabled = True
    'Chart1.ChartAreas(0).CursorX.IsUserSelectionEnabled = True
    'Chart1.ChartAreas(0).AxisX.ScaleView.Zoomable = True
    'Chart1.ChartAreas(0).AxisX.ScrollBar.IsPositionedInside = True

  • Scroll bar for Chart

    Hi,
    I need help on how to show/add scroll bar on a chart. Any
    pointers would be of great help.

    "kothp00" <[email protected]> wrote in
    message
    news:ggf3h6$pc5$[email protected]..
    > Hi,
    >
    > I need help on how to show/add scroll bar on a chart.
    Any pointers would
    > be of great help.
    >
    Look at "scroll charts"
    http://www.fusioncharts.com/flex/demos/explorer/

  • How to scroll the content of an XY chart?

    Is it possible to scroll the contents of a chart? I want to keep a fixed Y axis and scroll the X axis. If the chart is placed inside a ScrollPane, then Y axis, legend, and chart title can be scrolled out of the view...

    John,
    thanks for the suggestion. I could find that css selector with the help of a decompiler (most of the chart sources are not yet released). However, to reparent this into a scrollpane required me to subclass the chart. This is because the chart itself is the parent of the content but it does not expose its children (which are protected in the Parent class). The problem is now that the chart does not show. I can only see the title and legend, no axis and no content. What am I doing wrong?
    import javafx.application.Application;
    import javafx.collections.ObservableList;
    import javafx.scene.Node;
    import javafx.scene.Parent;
    import javafx.scene.Scene;
    import javafx.scene.chart.Axis;
    import javafx.scene.chart.LineChart;
    import javafx.scene.chart.NumberAxis;
    import javafx.scene.chart.XYChart;
    import javafx.scene.chart.XYChart.Data;
    import javafx.scene.control.ScrollPane;
    import javafx.stage.Stage;
    public class ScrollableChart extends Application
      public static void main(String[] args)
        Application.launch(args);
      @Override
      public void start(Stage stage) throws Exception
        Parent root;
        MyLineChart chart = createLineChart();   
        if (true)
          // Scroll chart content - does not show chart currently.
          Node chartContent = chart.lookup(".chart-content");
          chart.getChildren().remove(chartContent);
          ScrollPane scroll = new ScrollPane();
          scroll.setContent(chartContent);
          scroll.setFitToHeight(true);
          chart.getChildren().add(scroll);
          root = chart;
        else
          // Scroll chart incl axis etc.
          ScrollPane scroll = new ScrollPane();
          scroll.setContent(chart);
          scroll.setFitToHeight(true);
          root = scroll;
        stage.setScene(new Scene(root, 1024, 768));
        stage.show();   
      public static class MyLineChart extends LineChart<Number,Number> {
        public MyLineChart(Axis<Number> paramAxis, Axis<Number> paramAxis1) { super(paramAxis, paramAxis1); }
        public ObservableList<Node> getChildren() { return super.getChildren(); }
      private MyLineChart createLineChart()
        final int CNT = 500;
        final NumberAxis xAxis = new NumberAxis(), yAxis = new NumberAxis();
        xAxis.setLabel("Number of Month");
        xAxis.setAutoRanging(true);
        final MyLineChart lineChart = new MyLineChart(xAxis, yAxis);
        lineChart.setTitle("Stock Monitoring, 2010");
        XYChart.Series<Number, Number> series = new XYChart.Series<Number, Number>();
        series.setName("My portfolio");
        ObservableList<Data<Number, Number>> data = series.getData();
        for (int i = 1; i <= CNT; i++)
          data.add(new XYChart.Data<Number, Number>(i, 50 * Math.random()));
        lineChart.getData().add(series);
        lineChart.setPrefWidth(CNT * 10);
        return lineChart;
    }

  • Assign Slider value to X-Axis of a barChart

    Hi,
    I have a Rangeslider.
    On PropertyChange it gives back 2 Values.
    Lets take for example 1 and 9.
    Now i have a BarChart and i want the values assign on my X-Axis which is a Category Axis.
    If we assume the RangeSlider gives back 1 and 9, I then have the values 1 2, 3, 4, 5 ... 9 on my X-Axis.
    When i change the Slider and get new Values i want the values on my X-Axis automatically change too.
    How do i do this? How do i get the Data of the X Axis ? When i try to remove children of my BarChart i get java.lang.UnsupportedOperationException.
    I have no idea. Thanks for any help.

    > I have logged a fair bit of data at 2.6667 second time intervals inside
    > Labview. Each sample has a timestamp which was the time in seconds since
    > 1904 when the sample was taken. Some samples were discarded at the time
    > of sampling and weren't logged. I now want to play this data back to the
    > equivalent of a scrolling chart. The problem I'm having is getting the
    > time in seconds wired into the x-axis of this chart as the delta x-part
    > isn't uniform and the timescale does not correspond to what is plotted
    > on the chart. What is important to me is that the solution displays as a
    > scrolling chart with the correct time on the axis.
    >
    > Any pointers or suggestions would be appreciated.
    You don't mention what version of LV you are using. If you are or can
    use L
    V6, then you can do this with the Waveform datatype. The waveform
    is an semi-opaque datatype that includes a timestamp with one or more
    measured values. Since you can wire it to a chart, you can accumulate
    discontiguous data. In a normal acquire and chart application that now
    returns a waveform and you send it to the chart, the irregular sampling
    automatically shows up. If you are reading them from file, then you can
    pretty easily bundle the evenly sampled portions together into one
    waveform, then start another to skip ahead when you find a skip.
    If you are stuck using a previous version, then I'm afraid you
    will need to use an XY graph, possibly with the accumulation functions
    in the example I recently listed or use your own shift registers and
    build array.
    Greg McKaskle

  • Anychart labels not showing properly..

    Hi all...
    Anychart Version: 5.1.2
    I have a bar simple bar chart which calculates surgeons and their percentage of surgeries.
    x axis: surgeon name (labels rotated to 90 degrees)
    y axis: percentage
    If i am just showing 10 surgeons it is showing properly.
    But if am trying to show all the surgeons (around 100 surgeons on x axis).
    The Flash chart x axis labels are not showing properly
    In this thread..Austin suggested to increase the width of the chart
    APEX Flash Chart labels not displaying
    If i increase the width the labels are showing properly. But the chart looks so ugly with huge width. Is there any other way to show the labels properly
    without incresing the chart width
    In Mozilla filefox i checked the XML returned. In the XML it is showing the labels but in the chart
    it is not showing up.
    Sample X axis..
    The X axis is looking like this..
    s s
    u u
    r r
    g g
    e e
    o o
    n n
    1 3
    It is not showing the "surgeon 2" which is between 1 and 2
    This is custom XML that i am using..
    <anychart>
    <margin all="1"/>
    <settings>
    <animation enabled="true"/>
    </settings>
    <charts>
    <chart use_anychart3_data_model="true" use_sets_colors="false">
    <chart_settings>
    <title enabled="True" vertical_padding="30">
    <font bold="True" size="15" />
    <text>Death by Surgeon</text>
    </title>
    <subtitle enabled="True">
    <background enabled="false" />
    <font bold="False" size="15" />
    <text>Arranged by Increasing Annual Rate of Procedure</text>
    </subtitle>
    <footer enabled="true" align="Center" padding="30">
    <background enabled="false" />
    <font bold="False" size="12" color="Red"/>
    <text><![CDATA[Notice: This report generated considered privileged and confidential. &APP_TIME_STAMP.]]></text>
    </footer>
    <axes>
    <y_axis>
    <title><text>Percentage</text></title>
    <labels>
    <format>{%Value}{numDecimals:0}</format>
    </labels>
    </y_axis>
    <x_axis tickmarks_placement="Center">
    <title><text>Surgeon</text></title>
    <labels rotation="90"/>
    </x_axis>
    </axes>
    </chart_settings>
    <data_plot_settings default_series_type="Bar">
    <bar_series>
    <tooltip_settings enabled="True">
    <format>
    {%SeriesName}{numDecimals:2,thousandsSeparator:}
    {%YValue}{numDecimals:2}%
    </format>
    </tooltip_settings>
    <bar_style>
    <states>
    <normal>
    <fill color="%Color"/>
    <border color="DarkColor(%Color)" thickness="1"/>
    </normal>
    <hover>
    <fill color="LightColor(%Color)"/>
    <border thickness="2"/>
    </hover>
    </states>
    </bar_style>
    </bar_series>
    </data_plot_settings>
    #DATA#
    </chart>
    </charts>
    </anychart>please help me to solve this

    Hi,
    100 columns is a lot of columns. I understand why you are having this issue. I think you have two options here:
    First, you could use a scrolling chart.
    your x-axis custom XML would look something like:
    <x_axis tickmarks_placement="Center">
    <title><text>Surgeon</text></title>
    <labels rotation="90"/>
    <zoom enabled="true" allow_drag="false" />
    </x_axis>Second, you could reduce the font size of the labels on the x-axis to a very small number, so that the text of the label is not wider than the column width. With 100 columns, you are probably talking about a terribly small font size, probably making it unreadable.
    your x-axis custom XML would look something like:
    <x_axis tickmarks_placement="Center">
    <title><text>Surgeon</text></title>
    <labels rotation="90">
    <font size="4" />
    </labels>
    </x_axis>Austin
    Edited by: AustinJ on Feb 11, 2011 11:13 AM - fixed typos

  • Leap in time to test expiration of a certificate

    Hi (Eric),
    We got our certificates (thanks for your support) and we're the process of validating the deployment.
    A question raised-up:
    In a protected media streaming use case, is it possible to leap forward in time (change dates) to test the validity/expiration of a given certificate (or set of) ? We've tried and apparently a certificate installed on the client would prevent doing this.
    Alain

    > I have logged a fair bit of data at 2.6667 second time intervals inside
    > Labview. Each sample has a timestamp which was the time in seconds since
    > 1904 when the sample was taken. Some samples were discarded at the time
    > of sampling and weren't logged. I now want to play this data back to the
    > equivalent of a scrolling chart. The problem I'm having is getting the
    > time in seconds wired into the x-axis of this chart as the delta x-part
    > isn't uniform and the timescale does not correspond to what is plotted
    > on the chart. What is important to me is that the solution displays as a
    > scrolling chart with the correct time on the axis.
    >
    > Any pointers or suggestions would be appreciated.
    You don't mention what version of LV you are using. If you are or can
    use L
    V6, then you can do this with the Waveform datatype. The waveform
    is an semi-opaque datatype that includes a timestamp with one or more
    measured values. Since you can wire it to a chart, you can accumulate
    discontiguous data. In a normal acquire and chart application that now
    returns a waveform and you send it to the chart, the irregular sampling
    automatically shows up. If you are reading them from file, then you can
    pretty easily bundle the evenly sampled portions together into one
    waveform, then start another to skip ahead when you find a skip.
    If you are stuck using a previous version, then I'm afraid you
    will need to use an XY graph, possibly with the accumulation functions
    in the example I recently listed or use your own shift registers and
    build array.
    Greg McKaskle

  • DAQ Assist Continuos High Speed Display

    I am using the DAQ Assist to read in voltage data and display it as a scrolling chart. When I set it to take "N Samples" it works well, but wont display that data until the N samples have been collected. When I switch it to a continuos mode and set it to take 1 sample buffer at the same rate (20kHz) it actually samples much slower. Any suggestions about how to get a continuous chart that still shows the the data at full speed?
    Thanks

    The DAQ assistant, while it is great for getting a quick and dirty DAQ task up and running, isn't really designed for high speed data acquisition with precise control.  You will likely need to use the lower level DAQmx functions.  Start a task, acquire chunks of data in a loop, end the task.  You may need to pass the data off to a parallel loop for data processing, display, or logging using a producer/consumer design architecture.  Take a look at the DAQmx examples in the example finder.
    If you right click on your DAQ assistant and select Open Front Panel, it will turn the Express VI into a subVI that you can open and see how the underlying DAQmx code works.
    It may even be a matter of selecting continuous samples in your DAQ assistant, a small number of samples to read, have it in a loop that iterates enough times until you have collected your larger number of samples.

  • How to make text scroll in a chart/graph

    I am trying to make a small example labview app.
    I need to show a graph/chart with continuous data measurements, plotted over time. So far I have been using charts, since they suit my needs. I have seen though, that graphs are also a possibility. So if a solution calls for that, it might be ok.
    Now I have two things that i dont know how to do. I have attached a picture of what i want to do.
    I need to have time on the x axis, but i can only get it in the end points of the scale, can this be fixed (see the attached picture example)
    I also need to mark phase starts endings. This means I need to have text scrolling along with the plot, keeping a white marker line at the starte point of the phase. Can thios be done somehow? I have already looked into Annotations, but I dont think thats it. (see the attached picture.)
    If further explanation is needed, I would be happy to supply it.
    Kind regards Daniel
    Attachments:
    labview_example.JPG ‏27 KB

    One option with graphs is to right click the graph when the code is running, select "Create Annotation". This will add a label to the graph that moves as the graph updates.
    An alternative, and probably prettier approach, was discussed recently here;
    http://forums.ni.com/t5/LabVIEW/Two-background-colors-for-the-same-waveform-graph/td-p/1139000
    Hope that helps,
    Ian

  • Chart Error - scroller positions should be positive and integer

    <p>
    Hello Expert
    I have created a flash chart with two filters on the chart region.
    i) &lsquo;Select list with submit' ----- (:P23_TRC)
    ii) &lsquo;Radio button with submit' -----(:P23_IMPACTC)
    The chart should display as per the filters selection.
    However, I get the error message "<strong>scroller positions should be positive and integer</strong>", once, whenever I load this chart page for the 1st time in a new IE window.
    After I change the filter's value it will work perfectly fine.
    In filters default value is one value from respective filter list of value
    </p>
    <p>
    If I remove the filter conditions from chart query, it works perfectly without error.
    <u>Here are my chart series queries</u>
    select null link, V.LOB label, COUNT(TR) "Customer Care"
    from V_PROCESSTRACKING V
    Where V.ProcessArea like '%Customer Care%' and (V.TR = :P23_TRC) AND ((V.IMPACT = :P23_IMPACTC)OR (:P23_IMPACTC = 'ALL'))
    group by V.LOB
    order by V.LOB
    select null link, V.LOB label, COUNT(TR) "Sales"
    from V_PROCESSTRACKING V
    Where V.ProcessArea like '%Sales%' and (V.TR = :P23_TRC) AND ((V.IMPACT = :P23_IMPACTC)OR (:P23_IMPACTC = 'ALL'))
    group by V.LOB
    order by V.LOB
    <u>Customer XML</u>
    &lt;?xml version = "1.0" encoding="utf-8" standalone = "yes"?&gt;
    &lt;root&gt;
    &lt;type&gt;
    &lt;chart type="Stacked Horizontal 3DColumn"&gt;
    &lt;animation enabled="yes" appearance="size" speed="10" /&gt;
    &lt;hints auto_size="yes"&gt;
    &lt;text&gt;&lt;![CDATA[{NAME}, {VALUE}]]&gt;&lt;/text&gt;
    &lt;font type="Verdana" size="10" color="0x000000" /&gt;
    &lt;/hints&gt;
    &lt;names show="no"/&gt;
    &lt;values show="no" prefix="" postfix="" decimal_separator="." thousand_separator="," decimal_places="0" /&gt;
    &lt;arguments show="no" /&gt;
    &lt;column_chart column_space="3" block_space="12"&gt;
    &lt;border enabled="no" /&gt;
    &lt;block_names enabled="yes" placement="chart" position="left" &gt;
    &lt;font type="Verdana" size="10" color="0x000000" /&gt;
    &lt;/block_names&gt;
    &lt;/column_chart&gt;
    &lt;/chart&gt;
    &lt;workspace&gt;
    &lt;background enabled="yes" type="solid" color="0xffffff" alpha="0" /&gt;
    &lt;base_area enabled="no" /&gt;
    &lt;chart_area enabled="yes" x="215" y="50" width="705" height="500" deep="0"&gt;
    &lt;background enabled="no"/&gt;
    &lt;border enabled="yes" size="1"/&gt;
    &lt;/chart_area&gt;
    &lt;x_axis name="Line of Business" smart="yes" direction="horizontal" rotation="-90" position="left_center" &gt;
    &lt;font type="verdana_embed_tf" size="14" color="0x000099" bold="yes" align="center" /&gt;
    &lt;/x_axis&gt;
    &lt;y_axis name="No. of Process" smart="yes" position="center_bottom" &gt;
    &lt;font type="Verdana" size="14" color="0x000099" bold="yes" align="center" /&gt;
    &lt;/y_axis&gt;
    &lt;grid&gt;
    &lt;values /&gt;
    &lt;/grid&gt;
    &lt;/workspace&gt;
    &lt;legend enabled="yes" x="935" y="50"&gt;
    &lt;names enabled="yes"&gt;
    &lt;font type="Verdana" size="9" color="0x000000" bold="yes"/&gt;
    &lt;/names&gt;
    &lt;values enabled="no"/&gt;
    &lt;scroller enabled="no"/&gt;
    &lt;header enabled="no"/&gt;
    &lt;background alpha="0"/&gt;
    &lt;/legend&gt;
    &lt;/type&gt;
    #DATA#
    &lt;/root&gt;
    <strong>Help please!!!!! It's urgent</strong>
    Sagar
    </p>

    Hi Rima,
    I found the solution,
    My graph is dependent on the page items. What I found was when I load the page, item default value was displayed but it was not stored in the memory. Item value only gets stored in memory when the page is submitted.
    Line: -----
    Soultion : - Create a page level before header process and define the default value over here as well. This will resolve your error.
    Hopefully you understood what I am trying to explain. If not let me know and I will trying to put in picture and email you.
    Sagar

  • External monitor flickers when scroll on the google stock chart in Safari

    Well, this sounds crazy but this is what is happening to my Retina, 15-inch, Late 2013 Macbook Pro.
    I can reproduce it.
    1. Go to this page in Safari (Version 7.1 (9537.85.10.17.1)): https://www.google.com/finance?q=LQD&ei=nQQ_VPj1H4ebrAHP6oDYDQ
    2. Scroll the page (not the chart)
    3. My external monitor starts to flicker.
    I use mini display port to DVI to connect to my ASUS VE278.
    Any idea? Thanks in advance!

    Hi Ziang Song, 
    Welcome to the Apple Support Community!
    I know it can be concerning when your external display is flickering and not functioning as you would expect. In this situation I recommend the troubleshooting steps outlined in the attached article. 
    Apple computers: Troubleshooting issues with video on internal or external displays
    Cheers,
    Joe

  • Chart legend scroll bar

    Hi,
    i have a chart and legend in a panel..
    when there are more than 20+(depends on size of the panel and
    in my case it is around 20) legend items, legend items occupies
    most of the place and which in turn shrinking chart..(so chart is
    not clear in this case).
    can i have something like, "add a scroll bar to the legend..,
    if it is shrinking the chart more than 50% of the actual size of
    panel..??
    thanks
    siva

    You could wrap the legend in a vBox or hBox as
    appropriatte

  • Sub-charts on same scroll bar

    I have 6 streams of data that I want to plot on waveform charts.  The first 4 have the same y-scaling, so I have them clustered together into a chart.  The other 2 streams have a different y-scaling, so I have them each on their own chart.  All 6 share the same time data, though.
    Is there a way to cluster them all together into one chart that is partially overlayed (the first 4) and partially stacked (the last 2)?  Ideally, something that looks similar to the screen capture I've attached, but with one x-scroll bar at the bottom that scrolls all 4 plots together.
    Thanks!
    Attachments:
    motioncharts.png ‏48 KB

    Just came across this thread in the forum database:
    http://forums.ni.com/t5/LabVIEW/Combination-of-Stacked-amp-Overlaid-Waveform-Chart/m-p/655419?query....
    I see how to use a property node to specify the ActPlot and Plot.YScaleIdx to do what I want to do.

  • Chart scroll bar

    How to display horizontal scroll bar in chart? If you have large number of data that should be displayed, it is useful to have scroll bar - otherwise you cannot see anything...

    You can try: http://www.trade-expert.net/chartComponent.php
    It also has source code available, so maybe it can help...

  • Is there any way to scroll pie chart labels

    is there a way to have a scroll bar for the pie chart key
    Many thanks

    Hi,
    I haven't found how to make legend scrollable but I can suggest to put list box with color alerts. The listbox will  show each series of pie chart and color alerts will indicate the color of each slice.
    So, simply instead of using pie which can't support scrolling in the legend put listbox which supports it.
    In addition, I believe you have already been asked for showing values on each slice of piechart. On this week, service pack 3 have been released. By using this service pack, you can start to show values on the charts.
    Pavel

Maybe you are looking for

  • I am using JComboBox.i want ihe JComboBox popup always in top direction.

    Hi friends, i am using JComboBox.i want ihe JComboBox popup always in top direction(like mobile options ).by default JComboBox popup always in down direction.plz help me

  • PR after release - Some fields grey off (Confiq settings?)

    Dear Gurus, Once after releasing the Purchase requistion,  some field get greyed off automatically, where can i see the configuration in SPRO, Please advice

  • GETVPN: Cisco 3925E as a Key Server for 1500 GMs

    Hi, In a MPLS-VPN scenario as a private network for a client, they want to encrypt all their data traffic. GETVPN is the chosen encryption solution. They have 1500 branch offices, and 2 CPDs. We plan to use two Cisco 3925E as Key Servers, one in each

  • Load Report Failed

    Hi All, I know this subject has been beaten to death on the internet, but I have some reports that generate invoices etc... I moved them from a VPS to my dedicated server, I have set this up hundreds of times with no problems. This time I am unable t

  • How to integrate crystal report 9 with java

    hi friends, I have installed the crystal report and J-Integra also. but I am not able to find the crystl32.ocx in my c:\windows\system32 folder . So I downloaded it separately and use the J-Integra's com2java convertor to generate crystal package. Th