2

I have a 2D dojox.chart. I want to label tick marks on the X axis with dates that have time and date on separate lines. Is there a way to achieve that?

ReCoder
  • 88
  • 4

1 Answers1

0

Yes, there is quite a simple way. Just add a <br/> tag between your date and time in your labelFunc or in the text for values that you generate:

labelFunc: function(value){
    return value +"<br/>"+"sometext";
}
JabberwockyDecompiler
  • 3,318
  • 2
  • 42
  • 54
abdulnasar
  • 158
  • 1
  • 6