Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] graph templates

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] graph templates
 Login/Join
 
Gold member
posted
Hi,
I have a bubble graph created where I need to set the colors of bubbles to be fixed.
so I am using the user defined colors using
setSeriesFillColor(0, new Color(204,204,0));
setFillColor(getSeries(0), new Color(51,102,204));
.
.
.
.
setTemplateFile("/images/tdg/template/IBIFadeToGrey.txt");
setSeriesLooping(50);

even after specifying the series color explicitly , webfocus applies the user defined color for the first 15 series and it starts repeating the same 15 for the next 15 series , to avoid this I have used the

"setSeriesLooping(50);"
but when I use this API, graph template which is set using

"setTemplateFile("/images/tdg/template/IBIFadeToGrey.txt");"
is again applied for the first fifteen series alone.

My requirement is the graph should use all my user defined colors and also it should apply the graph template as well.


Currently when I use the APIs
setTemplateFile("/images/tdg/template/IBIFadeToGrey.txt");
setSeriesLooping(50);

combined the template effect is getting affected after 15 series.

Individually both APIs works perfect, problem occurs when I combine.

please help me in this.

Thanks & Regards,
cnu

This message has been edited. Last edited by: Kerry,


WF 8.0.0.9 Database : oracle

CURRENT:
WebFOCUS 8.0.0.9 /oracle 11 i

 
Posts: 51 | Registered: September 20, 2007Report This Post
<JG>
posted
quote:
setTemplateFile("/images/tdg/template/IBIFadeToGrey.txt");
setSeriesLooping(50);

1st thing to make sure is that the above settings are before your colour settings.
Many API calls will overide others and order can be important.

looping at 15 is strange until you examine the template where it is explicitly set to 16
even though it defines the maximum 64 colours

As you are setting your own colours anyway, delete the template and add any other additional
styling you need by copying the relevent parts from the template file.

(you will find the templates in \ibi_html\javaassist\images\tdg\template\)
 
Report This Post
Gold member
posted Hide Post
quote:
setting your own colours anyway, delete the template and add any other additional
styling you need by copying the relevent parts from the template file.


Thanks JG,
It worked.
I deleted the template and used the APIs defined
for setting the border off of the bubbles.

Thanks for the suggestion again.

Regards,
cnu


WF 8.0.0.9 Database : oracle

CURRENT:
WebFOCUS 8.0.0.9 /oracle 11 i

 
Posts: 51 | Registered: September 20, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] graph templates

Copyright © 1996-2020 Information Builders