Changing the color on the line graph

alien1507

New Member
Joined
Mar 22, 2016
Messages
2
Hi,

I need to change color on a line graph, but not color for the complete line, just for one change.

For example. I have 5 entries. 1, 2, 3, 4 and 5. I want that from 1 to 3 is blue color, from 3 to 4 red color and from 4 to 5 again blue color of the line.

Please help :biggrin:
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Hi alien1507

Try plotting two series, one from 1 to 5 and the other from 3 to 4. I have copied a sample table below, when plotted on a standard line chart it changes part of the line.


Excel 2007
ABC
1PL1PL2
2A1
3B2
4C33
5D44
6E5
Sheet8


HTH

Dave
 
Upvote 0
if you want to change multiple lines, select the first line, and then press and hold ctrl while you select the other lines.


under drawing tools, on the format tab, in the shape styles group, click the arrow next to shape outline.


i advice you. you use microsoft excel 2007.
 
Upvote 0
Can any one of you send me your email address, so that I can send you excel document and explain what is to be done. I can't do it in either way.
 
Upvote 0
Hi alien1507,

I'm not sure that would necessarily help, You wanted to be able to colour a part of a line on a line chart between two values. The trick is an illusion of that, you plot two lines that hold the same data just remove the bits before and after the section you don't want coloured.

Given your example question I put these two together, I highlighted the ranges on the left, then...Insert > Charts > Line > 2D Line. That was all ;-)

261gdpt.png


Perhaps you could elaborate on your example. You will find a link to some add-ins in my signature block that will help you post your data to the board, they are no different from opening up a workbook so no special software installations :-)
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top