-
Notifications
You must be signed in to change notification settings - Fork 51
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
scale_log: an option to generate only breaks which are integer powers of 10 needed #850
Comments
ASmirnov-HORIS
added a commit
that referenced
this issue
Oct 27, 2023
… in the future_changes.md file.
ASmirnov-HORIS
added a commit
that referenced
this issue
Nov 1, 2023
alshan
pushed a commit
that referenced
this issue
Dec 4, 2023
* Demo for transformation breaks. * Resolve #850: prefer integer powers of base for breaks when scale transformation is logarithmic. * Replace degrees of 10 or 2 by formulas for log transforms. * First version of break labels for power degrees in Batik. * Fix tooltips by moving call of the asPowerDegreeFormula() function inside the TextLabel/MultilineLabel classes. * Don't use power formatting for power degrees of 2. * Small refactor in the PowerBreakFormatter. * Fix duplicate breaks. * Fix tooltips with power degree formulas. * Remove an extra class BreakFormatter. * Handle formulas of the form C*b^d. * Use power formatter not only with logarithmic scales. * Update restrictions for power degree formatting. Fix error with 6th degree. Refactor. * Apply transformation to power degree formula only when number by default formatted in e-notation. * Process more complex latex expression for the formulas with superscript. * Fix problem with too small number of breaks. Reason: wrong text width estimation for the formulas with power degree. * Process complex strings with few power degree formulas and other text. * Move formatting of the power degrees from its own class into the NumberFormat. From now on all e-notation will be replaced by the power degree formulas, even if it's forced by a user. * Remove multiplication to 1 from formatting of power degrees. * Use formulas to calculate break labels heights. * Add Jfx demo for breaks transformations. * Add minimal demo for power degree formula. * Fix error with labels of iterable type in the LabelGeom. * Fix lineheight for the texts with formulas. * Literals to tspan attributes * Fix formulas formatting in the LabelGeom. * Refactor code. * Fix crash on horizontal legend. * Refactor in regular expressions and in the asRichText() function for power degrees. * Make non-scientific notation for exponent available in tests. * Fix RectGeom tooltip * Remove null argument from the text height estimation. * Replace maxOf by maxOfOrNull. * Transform RichText from class to object. * Improve demo examples for the power degree labels. * Fix code for debugging SVG. * Move enriching text from SvgTextElement to SVG labels. * Make Terms a private inner classes of the RichText. * Small refactor in the RichText. * Another small refactor in RichText. * Fix tests for the NumericBreakFormatter. * Refactor LabelGeom and fix bug with label height. * Mention changes in formatting of scientific notation and fixing of #850 in the future_changes.md file. * Restore some code. * Refactor code for power degree formatting. * Cookbook for the scientific notation. * Refactor RichText. * Update cookbook for scientific notation. * Another small refactor in the text height estimation. * Update markdown in the new notebook for scientific notation. * Remove height stretch factor. * Make powers smaller. * Revert changes in SvgNodeMapperFactory. * Refactor RichText. * Revert changes for the lineheight() function in TextUtil. * Refactor the RichText#extractTextTerms() function. * Refactor in the RichText::toSvg() function. * Replace RichText::extractTextTerms by the RichText::subtractRange. * Move RichText from datamodel to plot-base. --------- Co-authored-by: Ivan Kupriyanov <ikupriyanov@horis.ru> Co-authored-by: Olga Larionova <olarionova@horis.ru>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: