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 - Patterns in Bar Series
Summary: Patterns in Bar Series
Status: CONFIRMED
Alias: None
Product: HTML5 JavaScript TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: PC Windows
: High enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-08 07:30 EDT by yeray alonso
Modified: 2015-06-02 03:39 EDT (History)
1 user (show)

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


Attachments
Hover doesn't still work (82.84 KB, image/png)
2014-07-09 03:38 EDT, yeray alonso
Details

Note You need to log in before you can comment on or make changes to this bug.
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.