Jump to content

For a line graph, is it possible to display/style specific series as a dashed line rather than a solid or gradient line?


Todd Van Valkenburg
Go to solution Solved by David Briars,

Recommended Posts

  • Solution

It looks like the information for creating dashed lines is in Chapter 9 'Series Specific Properties', and the property you are looking for is 'dash':

GRAPH FILE GGSALESSUM DOLLARS UNITS BY CATEGORYON GRAPH PCHOLD FORMAT JSCHARTON GRAPH SET LOOKGRAPH LINEON GRAPH SET STYLE * INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/combine_templates/ENWarm.sty,$ type=data, column=DOLLARS, bucket=y-axis,$ type=data, column=UNITS, bucket=y-axis,$ type=data, column=CATEGORY, bucket=x-axis,$*GRAPH_JS "legend": {"markerSize": 20, "matchSeriesMarkers":true}, "series":[ {"series":0, "border": {"dash": "dash"}}, {"series":1, "color": "red", "border": {"dash": "long_dash_dot"}} ]*ENDENDSTYLEEND

image.thumb.png.d6c0e35dcf89633aff2a675dd6afe351.png 

I am seeing lots of patterns listed...:

image.png.1a47867a419f1d588780ccf2305a324e.png 

...however sometimes the pattern I really need is: three dots, three dashes, three dots. 😀

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...