Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Is there anyone who know how to make diagonal lines inside the chart bar like the below picture?

enter image description here

share|improve this question
    
If any of the answers you got solved your problem, please consider accepting them by clicking the grey checkmark in their left. –  Szabolcs Mar 15 '13 at 17:03

1 Answer 1

There has to be a better way than this:

BarChart[{1, 2, 3, 4, 5, 6}, 
 ChartElements -> 
  Graphics[{Blue, Thick, Line[{{0, 0}, {0.5, 0.05}}]}]]

enter image description here

share|improve this answer
    
It is great. Thanks a lot. –  Kim Mar 14 '13 at 15:58
    
+1 But (@Kim) please read Tufte on Moire patterns and chartjunk. Kudos to WRI for making this kind of stuff hard to construct. –  whuber Mar 14 '13 at 17:27
    
@whuber, yes you're right, I forgot myself. I feel guilty now... :) –  cormullion Mar 14 '13 at 17:52
    
Your illustration is a beautiful example of what Tufte writes about: the space between bars really does seem to vibrate, even more so on the screen than on the printed page. Quite distracting and very useful if your objective is to draw attention away from the data. :-) –  whuber Mar 14 '13 at 18:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.