Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2115 - Chart title font size doesn’t change.
Summary: Chart title font size doesn’t change.
Status: CONFIRMED
Alias: None
Product: HTML5 JavaScript TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-16 12:10 EDT by sandra pazos
Modified: 2018-10-16 12:10 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
Title font (3.83 KB, text/html)
2018-10-16 12:10 EDT, sandra pazos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sandra pazos 2018-10-16 12:10:06 EDT
Created attachment 864 [details]
Title font

When is tried change the title font size using setSize method, the title font keeps the initial state, therefore the font size doesn't change. Attached you find a simple project to reproduce the problem.
A workaround is use annotation tool as alternative title. The code below shows how: 
…

  Chart1.title.visible = false
 
  // annotation (alternative title)
  a1 = new Tee.Annotation(Chart1);
  a1.format.fill = "rgba(0,0,0,0.0)";
  a1.format.stroke.fill = "rgba(0,0,0,0.0)";
  a1.format.font.style = style + " Tahoma";//"20px Tahoma";
  a1.format.font.fill = "rgba(255,85,0,0.8)";
  a1.text = "TeeChart JavaScript";

  
  Chart1.draw();  //get positions
    a1.position.x = Chart1.axes.bottom.calc((Chart1.axes.bottom.minimum+Chart1.axes.bottom.maximum))+550;
   a1.position.y = 8;
  Chart1.tools.add(a1);
  Chart1.draw();  //get positions
  .....