sql - SEDE - Graph points plot seems wrong -


caused blog post flash dead curious , wrote a query count use of asp.net-tags.

select    (datediff(month,posts.creationdate, @postcreatedafter)*1) monthsago      ,tags.tagname          ,count(posts.id) nrofposts          tags        inner join #tagfilter on tags.tagname = #tagfilter.filtertagname        inner join posttags on tags.id = posttags.tagid        inner join posts on posts.id = posttags.postid                                        posts.creationdate >= @postcreatedafter            group tags.tagname            ,(datediff(month,posts.creationdate, @postcreatedafter)*1) 

graph output

graph of dataexplorer query 4 tags

the skewed plotting occurs after adding tag temp-table (for example adding (4, 'asp.net-mvc-3'))

graph of dataexplorer query 5 tags

insert #tagfilter (t, filtertagname) values          (0, 'c#'),         (1, 'asp.net'),         (2, 'asp.net-mvc'),         (3, 'asp.net-mvc-2');         -- (4, 'asp.net-mvc-3'); 

two other revisions

does know might cause?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -