First time Qlikview user here. Trying to get x-axis only showing the date from the timestamp. Here is the example,
It would be lovely to be able to remove the time. Does anybody know how to do this? I tried some simple script in the Used Dimension section under Dimension tab hoping to get only the date. It didn't work. It looked like this:
=date(floor(timestamp#(SomeDate,'MM/DD/YYYY hh:mm:ss'))) as record_date
Please help!
If you need to remove time than you rather use Date# function instead of timestamp#?
Below one is the sample one:-
Date#( DateField, 'M/D/YY')
Related
Dears, please help with this issue, i tried everything on my reach, filters wont work, I cant make it ignore future weeks with null data:
How do i get rid of that blank space?
Thank you in advance
On a Time Series chart, it can be achieved by setting the X-Axis Date Range to Range by Data.
Google Data Studio Report to demonstrate, as well as a GIF showing the process:
This date format 2016-04-21 is stored in the database, but it's display like 21.04.2014. on my website. This is very frustrating.
Solution echo $object->field->format('Y-m-d'); is not good for me.
I would like to define settings that this is not happening anymore.
Sorry for my english.
Use this
$date="2016-04-21";
$require_date_format = date('d.m.Y', strtotime($date));//will out put 21.04.2016
I currently have a problem with Dojo's calendar. It doesn't seem to be showing the name of the month when the locale is switched to zh-tw.
Instead of getting:
一月
二月
三月
。。。
we get
1
2
3
...
We don't have this problem when Dojo the locale is set to en. This is somewhat related to https://bugs.dojotoolkit.org/ticket/10490.
Anyone have a clue as to how to fix this? :)
Thanks!
That's because they implemented it that way. You can look at the source code and see that the months are numbered. You can even compare it to the English version.
As far as I know there is no way to extend or override this, so you will have to extend the dijit.Calendar._MonthDropDown yourself and hardcode it (not that this is a best practice).
I would like to set date to default time zone. At this moment my date looks like this: 2013-04-08T22:00:00 +02:00. I need to set my date to +00:00.
I tried to get the offset of my date and I received -120. Is it possible to set time offset? Are there maybe any better solutions?
Anybody an idea?
I'm using EXT JS.
JavaScript's Date object is bound to the time zone of the computer itself. There is no way to change the zone offset programmatically to an arbitrary value.
There is some work going on to add this functionality to the Moment.js library, but it is still in progress.
If you are just looking to get the time at UTC in ISO format, you can use .toISOString()
If you are speaking about code that is specific to the Ext.Date object from ExtJS, please edit your question and post some sample code so we can get a better idea of what you are talking about. Thanks.
Hi I'm trying to accomplish a time stacked bar chart where the input data looks like this:
{"name":"Folienwechsel",
"starttime":"02/29/2012 09:50:07",
"endtime":"02/29/2012 09:50:46",
"duration":38546.0},
{"name":"Pause",
"starttime":"02/29/2012 09:50:46",
"endtime":"02/29/2012 09:51:36",
"duration":49943.0},
{"name":"Wartezeiten",
"starttime":"02/29/2012 09:51:36",
"endtime":"02/29/2012 10:04:43",
"duration":787086.0}
As you see the start time and end time are continued, when a state finish the other one starts, I've been trying with the timeaxis, based on this tutorial http://aboutfrontend.com/extjs/extjs...-and-timeaxis/, and also with the stackbar example in sencha http://docs.sencha.com/ext-js/4-0/#!...tackedBar.html. An image example of what I'm trying to do:
I already done this with HighChart, but my company has bought ExtJs then I need to do this with Extjs, then it would be great if someone can tell me if its possible, and if it is, then if could guide me with an example or how should I start...
Thanks.
I spent some time working with time based charts in ExtJs4 and I have to warn you - that TimeAxis is buggy. I even had to replace my time axes with simple numeric ones. The idea is simple - convert your dates into the timestamps and pass them to your numeric axis.
Stackbar chart is a good choice for you. See this example (modified a bit), from official sencha examples:
http://jsfiddle.net/UDwz7/