Ability to load new samples on echart zoom actions (Zoom in & zoom out) - echarts

For the time series chart, on the initial load, we are displaying data aggregated for every 1 hour. when the user zoom in( for example for 4 hours) we see only 4 samples, instead, can we pull more data from the server which is aggregated for lower interval like 30 or 15 and display it in the chart when the user zoom in, display higher interval data on the zoom out.
On zoom in display lower intervals new data like more samples.
On zoom out restore the data which was already available.
Checking if this feature is available or not.

Related

Back syncfusion chart drawing when scrolling

Good day. Faced the problem with the back drawing of the graph using syncfusion_flutter_charts (if necessary). If I need to build the values ​​in front, then there is no problem:
chartSeriesController?.updateDataSource(addedIndexes: [...]);
But how to do it behind? The point is that my data is a date:value pair (x: date, y: value). And I display only the latest data, for example 7 days, 30 days. But if the user wants to see the previous results, then he need to scroll to the left and be able to see the previous days and their values ​​with the same detail (7, 30 days). As far as I understand, I'm satisfied with two solutions, displaying all the data at once, but from a certain index and the number of days at a time with the ability to scroll left and right, and gradual rendering, for instance the user will move with +1 & -1 value. It is also important that the detailing of the chart is chosen not by movements on the chart, but in the menu (I have it implemented). Thanks for your suggestions.

Fusioncharts Timeseries

Currently I am running into an issue in FusionCharts where TimeSeries view is inaccurate when using min or max aggregation on step-line graphs. While the data when zoomed in is accurate, upon zooming out the data becomes warped and inaccurate. Currently I can not find anything in the documentation about force limiting the zoom so that users are unable to zoom out to a distorted view. While the features of the chart are great, the distortion is to the level that it renders the chart useless. Does anyone know a way to limit the zoom out function to a max time range or increase the amount of points shown on the graph?
You can use the binning feature available in FusionTime.
Read more about it here: https://www.fusioncharts.com/dev/fusioncharts-aspnet-visualization/components/fusiontime-components/fusioncharts-net-binning

Tableau - creating vertical lines on specific dates when the date axis (x-axis) is set to "week"

I'm graphing weekly total page loads per 1000 students, which is easy enough when the pill for the page load variable is set to 'sum', and the date pill is set to 'week number.'
BUT, I also have a table that lists individual dates on which important policy changes occurred, and I want to draw those as vertical lines.
Using a dual axis, I have been able to plot the specific dates as lines, but because the resolution of the date axis is set to "week", it lumps all dates in the policy change table that occur within a single week into one, or possibly omits dates that don't land on the right date for that week, and therefore I don't get individual lines for every policy change.
weekly resolution, dates omitted
I have been able to approximate what I'm looking for by setting the date pill to 'day,' and then doing a rolling average of the page load values--but this doesn't represent the page loads in the way I need it to.
rolling sum, not the same calculation, but includes dates
I need either a way to layer two charts on top of each other, with different x-axis resolutions, or possibly the correct calculated field that gives me the straight up weekly sum of the daily total page loads for successive weeks, so I can use the 'day' setting on the date-time access but still get the weekly values I want, and then plot all dates in the policy change table.

How to Draw Pie chart based on time entries in google sheet

Given the data arrangement in the image below (from google sheet) I tried to draw a chart showing time consumed by each activity, each activity has a start time, the end time of an activity is the start time of the next activity, I couldn't find a way to visualize such arrangement, is it possible ?
Update: Solution
This is what I reached now
Also I don't have to write end time, here is how I did it
End
=INDIRECT(ADDRESS(ROW()+1,COLUMN()-1))
Duration
=C:C-B:B
Minutes
= D:D * 24 * 60
Note: To draw the chart I had to move the "Minutes" column to the right, i.e labels column has to be on the left for the chart to draw properly.
After that you can hide helping columns C and D as they are just created for intermediate steps.
Yes, you may build a Pie chart based on time entries, but you need to convert time format into number format.
select column with time
go to menu Format → Number → Number
Or, for more visual, convert time formatted numbers into number of minutes:
= Time * 24 * 60
And then draw chart:

Can I develop Sliding Dashboard Using SSRS 2008

I need to develop a dashboard that will be displayed in a flat screen hanging from the wall. Not on a PC (of course, behind the cabinet or something there is a PC, but I mean, without any user involvement).
But the info to display does not fit a single screen, so I need to have 4-5 screens sliding / rotating with the info.
Is that something that can be done using SSRS 2008?
If yes, how?
If not, do you have good free/low-cost suggestions?
Thanks.
Create the 4/5 'screens' within their own Rectangle in the one report
Set the AutoRefresh property of the report to x number of seconds you want for the rotation to occur.
Based on the AutoRefresh length you have set, set the visibility of the various rectangles based on a formula.
Example
Set AutoRefresh to 15 seconds
We will assume you have 4 rectangles/'slides'
Therefore, each slide will be shown once every minute
We set the visibility of each rectangle independently using an IIf() function and testing the current time with the Now() function
Rectangle 1
=IIf(Second(Now()) < 15, False, True) the rectangle will show if the AutoRefresh occured during the first 15 second block of the current minute, all other times during that minute it will be hidden.
Rectangle 2
=IIf(Second(Now()) >= 15 AND Second(Now()) < 30, False, True) the rectangle will show if the AutoRefresh occurred during the second 15 second block of the current minute, all other times during that minute it will be hidden.
Rectangle 3
=IIf(Second(Now()) >= 30 AND Second(Now()) < 45, False, True) the rectangle will show if the AutoRefresh occurred during the third 15 second block of the current minute, all other times during that minute it will be hidden.
Rectangle 4
=IIf(Second(Now()) >= 45, False, True) the rectangle will show if the AutoRefresh occurred during the fourth 15 second block of the current minute, all other times during that minute it will be hidden.
Other combinations can be done for the IIf() looking at the current Minute() or current Hour(). The Mod() function could also be used to show things every say 5 minutes as well.
I don't think you can do this in SSRS 2008 on it's own. However you could simply render you report pages as images and then use a free slideshow tool (picasa is good but there are lots available) to play a slide show of the images.
Alternatively you could put together a webpage to rotate the images but I'm taking the easiest, least technical route here.
If the data needs to be 'live' then you could create a subscription to run the report(s) every xx number of minutes or whatever you need. Set the output type to TIFF and use a windows file share as the delivery method. You can also get it to overwrite existing files, so you'll end up having 4 or 5 images being overwritten every xx number of minutes.
Of course there are much more elegant ways of doing this but if you want to use SSRS and want it cheap and cheerful then this is at least an option.
Good luck!
Al.