VisJs Timeline Top Label and Multiple Columns (apart from the Group) - vis.js

We are using VisJS Timeline to plot appointments for destinations.
Here is what we have so far
What we want to do, is add a label on the top left - above the groups (which is empty right now). Is it possible to achieve this?
Also next to the group name (first one being 1002) - we want to add additional columns.
Is it possible to achieve this one as well?
Thanks a lot in advance

Related

Tableau reacts poorly to latitude and longitude for one particular location

I have been troubleshooting this issue where I click on datapoint in geographic map and NOTHING appears. However, all other datepoints work as expected
Troubleshooting steps
I deleted and re-created the tableau map
I removed the offending datapoint, and all other datapoints worked
I renamed the address of the datapoint, same problem
But then, I changed the latitude and longitude of the data-point and it worked.
Now when I revert to the correct latitude and longitude of the data-point it doesn't work.
Why on Earth doesn't it work?
Is there a certain way I should format longitude and latitude? This is how I formatted it:
Please please please help. I've been working on this all day.
This is screenshot of it working, when I select location from drop-down
This is screenshot when I select data-point from map and it DOESN'T WORK.
Notice how data at the bottom is BLANK, as if nothing is selected.
But if I select any other data-point on map it works
Update
Proof of concept is here,
Notice when you click on Eat at Joes on map, the data display is blank, but if you select Eat at Joes from dropdown, then it works
Another update
If I go to dashboard, do rectangular select, this is what I get
If I go to original map and do rectangular select, I get this. It says 64 marks, 1 row by 1 column
And if I use quick filter, select Eat at Joes, it displays the data, including the name Eat at Joes
But if I hover over or select 'Eat at Joeson the map (not the drop-down), the name in the dashboard saysNoneinstead ofEat at Joes`.
And this happens to all data points that I hover over.
I uploaded latest workbook here
Update after calculated field
I dragged Cal_Loc to Details and it is aggregate (I am unable to change to Dimension) and not appearing in drop-down of dashboard panel.
However on lower left corner of Maps screen, it says 5 marks even though I see 4, which is still quite unsettling ...
There are two problems.
The first is that you're using ATTR(). Instead of putting the fields of interest into Tooltip as attributes, put them into Detail as dimensions. Filtering on an attribute is tricky (that *'ll get you into all sorts of trouble). For filtering, dimensions are usually the way to go.
The second is that you have lat/lng in the map as dimensions. Try changing them to a measure. If your dimensions (Location, Type) can uniquely identify every point on the map (and now that you've made them dimensions and not attributes, they can), then you can have the lat/lng averaged.
Your title problem is a known issue with Tableau. They've acknowledged the problem for about two and a half years now, but there's no fix in sight. Behavior with putting dimensions in titles is very inconsistent (a quick search through the Tableau forums reveals a pretty shocking number of people with your exact issue). I couldn't find a solution to your problem, but here's a hacked together one specific to your situation.
Make a calculated field:
IIF(COUNTD([Location]) > 1, 'Multiple Locations', ATTR([Location]))
Then replace [Location] in your title with that field. It just checks to see how many locations are present in the partition. If there's just one, it uses ATTR([Location]), which we can safely assume will return the name of a single location and not a "*". Otherwise, it returns "Multiple Locations", which you can obviously adjust to fit your needs.

Change the Timescale for Resource View

Is it possible to change the Y-Axes scale to show days instead of hours? So you can show multiple resources across the top and then days down the left hand side?
Many Thanks
Greg

How to draw moving averages on Kibana dashboard?

I would like to know that is there any way (or workaround) to draw moving average on Kibana dashboard?
I have read all the documents on the official site and nothing about moving average (or advanced charts) are mentioned.
Any information or keywords will be helpful, thanks in advance:)
You can create a Histogram Panel with Chart Value as mean, select your preferred Value Field (i.e. the field on which you want to get the average), set Chart to Lines and then set Auto-Refresh to your preferred interval:
Then you will get something like that:

Doing a Graph to highlight usefulness of twitter followers

I'm making a blog post about how if you follow TOO many people on twitter they end up becoming less useful (because you have too many tweets to go through/miss important updates).
So there's a direct correlation between the number of users you follow and how useful they become. If you follow too many the, the usefulness goes down, you need to find the right amount.
I'm trying to represent that in a graph vaguely (with no specific points)
I can imagine the graph having an X - with usefulness being Horizontal and No. of users you follow being Vertical. the sweet spot would therefore be in the middle.
Is this a good/correct way to represent what I'm trying to do? Could I potentially do it using a different graph type?
Would be more logical - at least in the Western world - to plot the friends count in X (horizontal) axis and the usefulness in Y (vertical) axis, I can see this in a line chart.
The chart would help readers get the idea, but I doubt you will be able to measure the "usefulness" in a relevant way.
Its value would also differ according to the profile of twitter friends: teenagers and niche professionals don't have the same usage of twitter and therefore do not publish the same volume of tweets. Therefore I would not use actual number of followers in the X axis, but instead only show "few followers" to the left, and "many friends" to the right.

using of grid view for managing the profit and loss account in asp.net

I am creating a web application and in this project i have to manage the profit and loss account of a company.
I have two headers as Income and Expenditure
In the Income i have to show the details of income sources with amount group by date and in the similar way i have to show all the expenditures like salary,vat,etc. with amount group by dates.
How can i manage this through grid view so that i can calculate the net profit/loss.
Please help me with the suitable examples.
Thanks in advance.
Your question and the comment isn't explanatory in itself, so i am assuming bit of things myself so pardon me in that case.
I assume you want to Show data from Tbl_Sale under the Income header and data from Tbl_Purchase under Expenditure header.
For that, you will need to have two grid controls one for Tbl_Sale and one for for Tbl_Purchase(Set their respective data sources). Both of these controls orientation is needed to be set vertically rather than the default horizontal. Include the columns in gridview for those values which you want to display : like Item and Amount.
For Total, you will need to have a function which sums up the Entire Sale table and Entire Purchase table and stores the value in some temp field like TotalSumForSale and TotalSumForPurchase and then display them at the bottom of your grid controllers. You can't have them inside the Gridview control

Resources