I would like to create a chart that looks like this
On my x axis i would like to have my dates so for example 2016-01-01 On my y axis there should be a a number on how much this event occurred on that date for example 4
So far so good how my data looks like that I am trying to create my chart above:
FailureLogStart
2017-01-09 18:20
2017-01-14 14:23
2017-01-14 15:14
2017-01-15 11:05
2017-01-16 09:36
2017-01-16 10:02
2017-01-16 10:23
This is the only column I can use to creat my chart so the values for the Y: axis should be the dates without hte time and the x axis are the number of occurrences per date as an example on the 14 there would be tow.
What I have done so far:
Sub Test()
Range("Table_Query_from_WatchDog_DB_1[[#All],[FailureLogStart]]").Select
ActiveSheet.Shapes.AddChart2(201, xlColumnClustered).Select
ActiveChart.SetSourceData Source:=Range("'Controll & Data'!$C$18:$C$25")
ActiveSheet.Shapes("Chart 6").IncrementLeft 518.4782677165
ActiveSheet.Shapes("Chart 6").IncrementTop -308.4782677165
End Sub
What I have right now is the opposite that I would like to have the dates are on the Y:Axix and the occurrences are on the X:Axis
(Btw how can I select only a the date without the times)


