Time series forecasting in orange - time-series

Is there a time series windowing operator in Orange. How do we forecast a time series data. can you sight any examples like stock predictions etc.,

You can install Time_series addon from the widgets menu. Orange provides once click widgets for visualization and forecast but there is a drawback, in Yahoo finance widget was removed in the latest update.

Related

Highchart Scatter Series must appear in front of the column series, but if it contains more than 5k records, it appears at the back of column series

Chart as three columns series with stacking on top and one scatter series with over 5k records. So, in the front view, we need to see the scatter first, followed by the subsequent column series. It works perfectly with less than 5k records, but if there are more than 5k, the columns chart falls back.
Demo
Expecting Series must appear in front of the column series
For large amounts of data you can use Highcharts Boost module, add to this script to your project:
<script src="https://code.highcharts.com/modules/boost.js"></script>
Blog article explain how to work with boost module:
https://www.highcharts.com/docs/advanced-chart-features/boost-module

Tableau - Data disappear when changing 'date'

Working some data and needing to essentially do an 'average' of an 'average'. Have a daily snapshot that I am averaging over the month, then want to sum the averages and then find the average of that. I know I know, boss says it's a requirement.
So the data looks fine when I have 'Year/Month' on the rows shelf. The issue I am running into is that when I remove the 'month' pill, the data disappears. I've narrowed it down to my calc and the part where I'm trying to define how to average at the lower level.
Any ideas if there is a way to calc it at that lower level to use in the second part where I need to sum those averages then average that?
Tableau Calc
Table

Google Sheets Chart Axis Title does not update when source cell is formula

I want the Google Sheets chart x-axis title to change when the data in a chart changes. I've made a simple example to demonstrate the problem. In the following animated gif (click to see greater detail) the x-axis title does not update when the data in the scatter chart changes.
Apparently this happens because the source cell for that title (A1) is itself a formula (to give the average of the x-values -- in my real-world example, it's more complicated than that).
The only way I know to fix this is to delete the chart and make a new one, as shown in the last part of the animation. But with my real-world example, this is a lot more troublesome.
Thanks for any help.
I have been running a couple of tests and have some experience on how the charts are created under Sheets in comparison to the ones in Excel.
There have been multiple forums discussing this particular issue, the main issue with it is the fact that this portion of the Chart is only a title text and does not linked to any portion to the table or that you cannot select a custom formula to be used for updates. It is also mentioned over the official documentation that you can only manual edit this titles.
As an alternative, you could implement a script so it changes the chart title for the average.
function onOpen(){
SpreadsheetApp.getUi().createMenu('Charts').addItem('Update title of the first chart from active cell', 'myFunction').addToUi();
}
function myFunction() {
var sheet = SpreadsheetApp.getActiveSheet();
var chart = sheet.getCharts()[0];
chart = chart.modify()
.setOption('title', sheet.getActiveCell().getValue() || 'Empty')
.build();
sheet.updateChart(chart);
}
The portion of this code has been found and discussed over this thread.
I also believe that it should be a feature directly on Sheets and it should be implemented in the future, you can send feedback from the help option or go to the Feature ideas portal:
https://www.googlecloudcommunity.com/gc/Feature-Ideas/cmp-p/grouphub:workspace-ideas-group

How to make a stacked bars chart using a single dataset with TDBChart VCL Teechart component?

I would like to create a stacked bars chart with TDBChart using a single dataset.
As far as i can see if I use TDBChart as i choose a stacked chart 2 series are added.
This component seems good to create stacked charts from many datasets, in which each dataset contains data of a specific type.
I make an example to clarify:
let's say I have a dataset (dtsSalesAllCountries) with the following info:
country
year
total_sales
in this way in principle i could plot a stacked bars chart in which I see bar per year and the total_sales for each country are stacked.
But TDBChart does this through series, so to perform my result i am currently forced to create one series per country (sqlFranceSales, sqlItalysales, sqlIndiaSales, ...)
This is quite unconvenient, each time i sell to a new country i must add a dataset. This is how it looks like with this implementation:
Please note I need to use TDBChart since I use ReportBuilder/TeeChart integration, that is based on TDBChart.
In fact what i am looking for is a pivot chart, that is not available in the Report Builder/TeeChart integration.
Is there a way with TDBCHart to achieve the stacked bars sales chart i am trying to implement using a single dataset and not one dataset per series?
For TChart itself you would configure the Data Source for the Series as a CrossTab. The extra series will then be created for you. Not sure if it can be done with TCharts embedded in ReportBuilder reports.
With source data from SQL Server:
SELECT * FROM (VALUES ('CA',2012,2500),('US',2012,5600)
,('CA',2013,3000),('US',2013,7000)
,('CA',2014,2600),('US',2014,8000))
AS A(Country,Year,Sales)
Produces:

Highcharts moving average based on visible data only

So, I have a price time series I wrote a moving average for the prices of different retailers http://i.imgur.com/dn3EdM6.png . So far so good, but I want to only see the moving average of the visible retailers. For example, here I have only one shop shown, but the moving average is calculated on all of them. http://i.imgur.com/ZpK5gsG.png Is it possible to make it to dynamically change? Maybe reload the graph or something?
I made an example based on my comment above.
This example does not calculate a moving average - I wrote a simple function to calculate the overall average for the sake of simplicity.
The purpose of the example is to demonstrate how to do it on legendItemClick, making use of only the visible series.
Example:
http://jsfiddle.net/jlbriggs/gejgquxh/

Resources