They are independent.
Use the guitar diagrams for practicing chord shapes (some people will mute the main instrument, guitar/piano/...).
Then when practicing soloing, use the chord/scale diagrams if you have them (leave the guitar/piano ON so it comps behind you).

You can change the sound of the main instrument also (different styles have different choices so they are not necessarily a guitar sound).