Cognos visualization line styles - charts

Today I'm having trouble explaining to a user why it's better to use Cognos than Excel.
For any visualization type in Cognos (Charts, Legacy visualizations, 11.0 visualizations, 11.1 visualizations) is there a way to make a line chart that uses line styles rather than line colors? I have a requirement for a viz that is copyable (in black and white) and readable by anyone with any color vision problem. The charts in question are typically limited to only a few lines, so one solid, one dashed, one dotted and one with a dot-dash pattern would work fine. I am not finding this capability.

Related

Does ag-grid charting support line interpolation options or stepped lines?

A web app I am working on uses ag-grid to render detailed status data in a grid. Customer wants to chart a comparison between planned and actual status values, which I was able to do quickly and easily with ag-grid's charting capabilities. However, after a review the customer is interested in displaying the line as stepped between points rather than linear since each point is a target and data between targets is not interpolated in the details. I assumed that line interpolation was a fairly standard (and common) option for rendering line charts and would be supported. However, I cannot seem to find an option which allows me to set the line interpolation or stepping.
Am I just missing an option or is line interpolation and stepping just not supported for ag-grid line charts? If it is not supported, can this be done through some kind of customization, or am I stuck either adding points to my line to make it kind-of-sort-of look like a stepped line or pulling in a whole other charting library for what seems like a basic function?

Layering series in Oracle apex chart

I am trying to add two series to a scatter chart in oracle apex 20.1. One of these series is rendered as markers, the other one is rendered as a line. The problem I am having is that the line is always rendered behind the markers, which, due to the amount of data points I have in my first series, completely obscures the line.
I have tried giving the markers a lower opacity to make the line more visible which didn't help, as you can see below. I've also tried changing the series' order which didn't make a difference.
The question I have is: does apex have an option to have the line render on top of the markers?
Oracle apex badly layered chart
Edit: changed wording to be more clear

Google Charts trendline y-intercept

I've been trying to force a trendline through 0,0 for my scatter graph, but I can't seem to find a way to do this.
From the docs here, they don't give any information on it: https://developers.google.com/chart/interactive/docs/gallery/trendlines
But, I know there are lots of undocumented stuff in charts.
This is an example of what i am trying to do within Google charts(Done within excel)
The red dotted liner is the trendline, on the left is the default liniear regression that Google charts can give, but in many situations you would want to force a Y-intercept, in this example its forced to be at 0
No, you should NOT need values to force an intercept. This is a pretty standard option in graphing programs. Unfortunately, I don't see where Google Sheets gives you the option, which is one reason I don't recommend it for serious data analysis.
It's odd that the LINEST function allows you to force a zero Y-Intercept, but the trend-line tool in the Chart Editor does not. Excel offers a checkbox to force the line through the origin. (Of course, one should exercise caution when doing so. You really have to know something about the data your analyzing.)

Special kind of bar chart

So, I have a kind of "customized bar chart" here. Forgive my lack of drawing skills, I just slapped this together in MS Paint.
The idea is that we have a patient who is on a certain medication. The chart has the following attributes:
Each black line represents a visit date (so, the horizontal axis is a date series).
The chart should have a unique indicator for start date, end date, and when the patient paused and resumed taking the medication.
Each visit date (black line) should have a dosage amount attached to it. This does not have to be a symbol, it can be a value (e.g., 2400mg, 4800, etc).
It's sort of a cross between a Gantt chart and a bar chart, but is neither of the two specifically. There are start and end dates, with a bar-like representation across a time period, but there could be potential gaps between pause and resume dates as well.
Is a chart like this even possible in BIRT, or does it require advanced customization?
Let me know if you need anything clarified.
What you should be able to do is build a table for each medication, where the columns are the doses, and dynamically change the width of the columns. Some quick research indicates adjusting the column width in a table can be challenging but here is question about doing it to a crosstab
The easiest way might be to leave the column widths floating, and add characters (same color as background so they don't display). The characters are added based on time between visits and will cause the column widths to change accordingly. You can use highlights to change the background code based on JavaScript.
You may want to have a look at d3. It enables highly customizable chart.
For example, https://vida.io/documents/ZCzewTza4ZSzMWSBG.
BIRT 4.3 has support for D3.

How to update data changes in an already drawn SPSS graph

I have drawn several bar chart, scatter, and line graphs in SPSS 21 and spent lots of time on editing their look. But, I realized that I made some mistakes in data and they are already changed. In Microsoft excel, graphs are interactive/dynamic, meaning that they change if you modify the values of each cell. Can we mimic the same feature in SPSS 21? Is there any way I can update graphs without redrawing them from the scratch? I have saved them as output, but when I load them no change is reflected and the graphs are associated with old data.
I have saved syntaxes to produce the graphs, but when I run the syntax, the graphs are produced in standard looking that need lots of changes to look good. When I save chart templates and apply them to new charts, they don't look the same meaning that some of the changes are not applied.
Please help.
It is not possible. I feel you with making all the changes and the inconsistency in applying chart templates though. A few tips to mitigate this in the future are;
Do everything you can with GGRAPH and inline GPL statements to get the look of the chart close to how you want it.
Start with a chart template that is closer to your typical end goals. (See here on how to make some simple edits to the default template).
Some things are still difficult to fully automate like label placement in the chart. These simple tips though get me very close to the end goal, and only rarely do I need to take the time to polish a chart with editing post-hoc.