I have a line chart with two lines in it. Sometimes the values between them differ by a hundred or more. That leaves the bottom line looking very flat. I want both of these to remain on the same graph but is there a way to have a different scale for each line?
I was told that it is possible to have one (scale) on the left and one on the right, but I have googled and googled and have not found anything useful.
So any help would be great, thanks!
In the properties for the chart series change the ValueAxisName to Secondary
OR
Right-click on the chart series
Goto Series Properties
Goto Axes and Chart Areas
Change the value Axis to Secondary
Related
I have a chart composed with vconcat and layer. The layered plot is one of the blocks in the vertical concatenation, it plots two different datasets. There are two more blocks in the vconcat: one that has a different (third) dataset, and another that is a smaller version of one of the layers (used for brushing / zoom). The x scales of all the charts follow the selection via brush signal; the bottom chart sets the signal value via user interaction.
I would like to align the x-axes on all the vconcat chunks. The dataset of the mis-aligned one does not cover as much as the timeseries line (it starts and ends around where the vertical dashed lines are).
When zooming / brushing with the bottom chart, the axes align. When the chart first loads, each x-axis covers the extent of the matching dataset. I'd like the axes to cover the largest extent of all the layers / concat blocks.
I've tried using the resolve config, "shared" vs "independent" etc, with no success.
Not really an answer, but a hack to get the desired result. An accepted answer should be a vega-lite config solution.
I modified the mis-matched dataset to have the same first and last timestamp, which causes the scales to naturally align.
I have created a combination chart in excel which I am attempting to replicate within SSRS.
The chart shows three versions of 'success' plus the percentage 'failed'. (Please see image for more detail)
For one of the segments, i.e. success v2, I would like to then break this data down by how long it took to achieve success, as a percentage.
I've attempted changing my chart type a few times within SSRS and exploring the chart 'General Custom Attributes' however I haven't been able to get very far with figuring out how to link two pie/donut charts...your help would be invaluable!
Thanks
Charlotte
Welcome to SO!
This isn't really an answer but a list of things to look at/consider and too long to fit in a comment.
You need to look at the Chart Series properties, in particular the Custom Attributes related to 'Collected...'
This allows you to explode a section but as far as I know it only allows you to use values or a % lower than a specified threshold, not a particular section as you want. This migh work if the section you want to explode out is always the smallest but I guess you cannot guarantee that.
You might be able to get round this by adding another column to your dataset that always shows a high number for 'failure' and 'success x1' and a small number for 'success x2' but i'm not sure if you can define which field to explode on and visualise a different field, otherwise your main pie would look incorrect.
Alternatively you could just show two charts.
I have a chart with multiple modifiers that provide different behaviors on rollover. The chart used to have a vertical line that would show up on rollover. I was asked to get rid of it, which was easy:
<sci:RolloverModifier
DrawVerticalLine="False"
but I noticed that the label that shows up under the X axis is still there. I've tried to remove it, I didn't figure out how to do it.
I've examined some other graphs in the application, and found a similar one, which has the labels showing on both the X and the Y axis
[edit: image removed to prevent potential client IP issues]
I tried comparing the charts, and they do have different sets of modifiers, but I didn't find out what causes one graph to only have the graph on the X axis, and the other one on both.
The property you want is RolloverModifier.ShowAxisLabels.
However, the screenshot you've posted looks like the CursorModifier. If you find out that the CursorModifier is adding the labels then you can either remove this modifier, or you can try a workaround like this one on the SciChart Forums (which is 4 years old so may be out of date!)
If you have a line chart in SSRS with many lines, it is nearly impossible to identify which line belongs to which item in the legend, as the colors are nearly the same. Is there a better solution?
bad example of line chart legend
Some suggestions that may help:
Group some of the values into an Other group. It looks like you have
some values that come and go, or don't run for the full timeframe of the
report, lumping these into an Other group will mean less legend items.
Move the legend to the bottom of the chart. This can sometimes make
the legend easier to see; this is not a good option when have a lot
more legend items than what you have now.
Use more than one chart; one chart for each line is possible. This
may be a good option for you. Use more than one chart, and only
display certain values in each. Perhaps you have some natural
grouping in the data that isn’t obvious from what you have provided
in the question. If you do, use that to separate the values into
different charts.
Use a different color theme. The theme you are using now would leave
any color-blind person wondering what was in the chart at all.
Make the chart larger. You just never know, this may work.
Use a column chart rather than a line chart. The bars are wider, and
can be easier to see. Plus, with the way your values come and go, it
may be a better way to visualize the data.
Limit the timeframe of the data being displayed. Having less data may
make this look better, but that may defeat the purpose of the report.
Still, it’s an option.
Good luck.
All good ideas by R Richards. I often end up with charts looking like yours. The first thing I do is ask. Is this of any use to the end user, if not I'll try to rationalise the chart. Some of the ideas in the earlier answer are things I try but also you can try the following without reducing the amount of data in the chart.
Simply make the lines thicker, it's much easier to identify the colours with thicker lines.
Add tooltips to the data points so that the user can hover over the
lines and get info about the line and/or point.
Use a custom pallet, the default palette does not have many colours in (7 I think), so colours are repeated. Creating a custom palette with more colours will make it easier to identify each line. It also means, if you can ensure the order of series in your data that you can you produce consistent charts were a colour always represents a specific business object.
If you have breaks in the data, change the chart to use an average
to give you a continuous line. I think your x axis has to be set as
a time type for this to work, I can't remember off the top of my
head.
Here's a before and after the first two ideas were applied to a sample chart I built.
If you think you need to reduce the data, group line with smaller values together and then add a drill down chart to show these lines.
It's been a couple of years since I've done reporting. I have an existing chart with some data/columns, and i want to overlay two other lines along the chart to show a score, and a guess. Here is a picture of what i want, need to add the blue and red lines. This might be really simple in SSRS and VS2008, but I am just getting back into it, and not finding anything in the forums.
I have the data there in the queries, so i just need to know how to put it on the chart/axis/whatever.