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 831

Summary: Patterns in Bar Series
Product: HTML5 JavaScript TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement CC: marc
Priority: High    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?p=66716#p66716
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: Hover doesn't still work

Description yeray alonso 2014-07-08 07:30:27 EDT
The patterns work for the Area series:

  series1 = Chart1.addSeries(new Tee.Area()).addRandom();
  series1.colorEach=false;
  series1.format.image.url="./images/metal.jpg";
  series1.format.gradient.visible=false;


But not for the Bar series:

  series1 = Chart1.addSeries(new Tee.Bar()).addRandom();
  series1.colorEach=false;
  series1.format.image.url="./images/metal.jpg";
  series1.format.gradient.visible=false;

The Bar series calls c.fill and should use f.draw to support patterns.
Comment 1 yeray alonso 2014-07-09 03:38:37 EDT
Created attachment 240 [details]
Hover doesn't still work

A few changes have been made to the sources to support this.
However, the hover doesn't respect the pattern.
See the attached image showing how it looks.
Comment 2 yeray alonso 2014-08-13 10:53:52 EDT
I reopen this because a customer made me notice the current implementation is stretched to the bar rectangle while it should be tiled to serve as a pattern.