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.
I have requirement saying for a bar graph, A and B. Where A should have red color and B should have a color like chess board(Black and white). Is there any option to get this kind of mix color white and black. Please help me.
Thanks.This message has been edited. Last edited by: FP Mod Chuck,
I don't think you can assign CSS classes to components of a JSCHART, like you can to HTML table reports, but if you could, this may assist.
The HTML5 JSCHART manual talks about being able to assign linear gradient properties, for objects like the risers, within the JSON methods/properties section of the StyleSheet. You might want to check this section out.
Curious about the business case. Are you looking to help out folks who might have color vision deficiencies?This message has been edited. Last edited by: David Briars,
This does what you want, unfortunately, the squares are very small.
GRAPH FILE ibisamp/ggsales
SUM UNITS
BUDUNITS
ACROSS REGION AS ''
ON GRAPH SET GRAPHSTYLE *
setFillType(getSeries(0), 3);
setTextureDisplayMode(getSeries(0),0);
setTextureURL(getSeries(0),"\tdg\graphics\pattern_14.gif");
ENDSTYLE
END
The pattern_14.gif file is located here: ibi\WebFOCUS81\ibi_html\javaassist\tdg\graphics\pattern_14.gif so you could put another .gif file there with larger squares.
Or it would probably be more convenient to locate it in an app folder and reference it this way:
GRAPH FILE ibisamp/ggsales
SUM UNITS
BUDUNITS
ACROSS REGION AS ''
ON GRAPH SET GRAPHSTYLE *
setFillType(getSeries(0), 3);
setTextureDisplayMode(getSeries(0),0);
setTextureURL(getSeries(0),"..\..\..\apps\baseapp\checker.gif");
ENDSTYLE
END
WebFOCUS 8.2.06
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010
Yep, for sure, if there isn't a requirement for the WF8 HTML5 JSCHART format, take a look at using the legacy API Graphics format. Tried the setTextureURL method just now, and it worked great. :-)This message has been edited. Last edited by: David Briars,
I would also suggest that if you can create this in the legacy format, then it should keep working, even after IBI change the charting engine from Threedgraphics to D3