add line break for labels of bar charts
This commit is contained in:
@@ -62,9 +62,9 @@ public class Interval {
|
|||||||
private String toDateFormatForBucketer(final IntervalTimeUnit intervalTimeUnit) {
|
private String toDateFormatForBucketer(final IntervalTimeUnit intervalTimeUnit) {
|
||||||
switch (intervalTimeUnit) {
|
switch (intervalTimeUnit) {
|
||||||
case MINUTE:
|
case MINUTE:
|
||||||
return "yyyy-MM-dd HH:mm";
|
return "yyyy-MM-dd'\\n'HH:mm";
|
||||||
case HOUR:
|
case HOUR:
|
||||||
return "yyyy-MM-dd HH";
|
return "yyyy-MM-dd'\\n'HH:00";
|
||||||
case DAY:
|
case DAY:
|
||||||
return "yyyy-MM-dd";
|
return "yyyy-MM-dd";
|
||||||
case WEEK:
|
case WEEK:
|
||||||
|
|||||||
Reference in New Issue
Block a user