![]() | Steema Issues DatabaseNote: 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. |
| Summary: | Chart title font size doesn’t change. | ||
|---|---|---|---|
| Product: | HTML5 JavaScript TeeChart | Reporter: | sandra pazos <sandra> |
| Component: | Chart | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | Title font | ||
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 .....