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     [CLOSED] Setting Legend shape to be a Dashed Line

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Setting Legend shape to be a Dashed Line
 Login/Join
 
Silver Member
posted
Hi All, not sure if this is even possible.

I have a graph with 2 lines on it, planned and actual. The colors are the same for each line, but the planned data has a dashed line to distinguish it. This is working fine. The problem is the legend for both lines is a square that is the same color for each so their is no way to tell which line is which. I would like to update the planned legend shape to be a dashed line. I can get the legend markers to be different shapes with
setUseSeriesShapes(true);
setNullLegendMarkerShapesAsSquares(false);
but none of the shapes that I have found are quite right.

Thanks for the help,
Cody

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


WebFOCUS 7.6.8
Linux
HTML,AHTML,PDF
 
Posts: 37 | Registered: June 12, 2009Report This Post
Expert
posted Hide Post
Hi Cody,

From our expert:

This is possible using the API code below (can be don in AGA) must select line series markers and turn off regular markers:

setUseSeriesShapes(true);
setMarkerSizeDefault(50);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
setLineStyleLegendMarkers(1);
setMarkerShape(getSeries(0),0);
setLineBasicStrokeType(getSeries(0),15);
setMarkerShape(getSeries(1),0);


Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Member
posted Hide Post
Hi cody,

Use the API,
setUseSeriesShapes(true);

setLineStyleLegendMarkers(1);

This API should make the legend to be a dashed line.

Cheers
Badri


WF 7.6.11,
oracle 11g ,windows
PDF , excel, AHTML
 
Posts: 17 | Registered: February 12, 2013Report 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     [CLOSED] Setting Legend shape to be a Dashed Line

Copyright © 1996-2020 Information Builders