-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to control axis tick interval? #136
Comments
Thanks for your response and it is useful for me. But when tick label is too long, a natural idea is to make it able to change lines, but when I use |
All labels/text in JKQTPlotter use Latex-markup ... try using \ (I.e. in c-code "...\\..." instead of \n |
The documentation of JkQtMathText has a large list of available LaTeX : |
I hava tried "\", but it didn't work. |
Could you post a code-snippet? |
try using ui->plot->getXAxis()->setTickDateTimeFormat("yyyy/MM/dd\\HH:mm:ss"); This will end up as a string "yyyy/MM/dd\HH:mm:ss" after the compiler has resolved the c-escapes "\" -> '' |
I am sorry, i spell error in last response.I have tried |
As you can see in the picture, the tick labels will overlap when the tick labels are long. So how to control axis tick interval?
The text was updated successfully, but these errors were encountered: