The right way is to put the on its own breaker or fused distribution buss. If you go directly to the battery, your wires to the chart plotter are always hot unless you disconnect the battery. Use the proper electrical distribution through either a breaker or fuse block, and run new wires, especially if you don't know where they go.