Wuxia characters have some form of alignment. If you are familiar with Dungeons & Dragons, you'll know the DnD character alignments that are used to determine how a character thinks and behaves.
Good - does good deeds
Neutral - strikes a balance and does neither good nor evil
Evil - inherently evil
Chaotic - bends the law and principles when necessary
Lawful - abides by the law and principles
These can apply to the wuxia world as well. Though they tend to behave more as orthodox and unorthodox rather than behaving lawfully or unlawfully. The essence of xia is to act beyond the bounds of law and even take law into their own hands where needed. Law isn't well enforced hence xia became the enforcer.
Lawuful good characters do things the right way as expected by society.
Neutral good characters do good within their means.
Chaotic good characters do good without regards for rules or laws. They readily bend the rules or break the law to do good.
Lawful neutral characters follow the law, their principles or customs piously, and thus their actions are dictated likewise. Examples are Shaolin monks or Daoist priests.
True neutral characters don't take side and stay away from conflicts.
Chaotic neutral characters choose their actions without regards for rules or laws, but they stay away from interfering between doing good or evil.
Lawful evil characters do evil deeds but do so within the limits of the law. Their actions might be immoral or go against traditions and customs, but they don't break the law.
Neutral evil characters are evil but they weigh their actions and choices, choosing to do what benefits them.
Chaotic evil characters are violent criminals that will do anything to achieve their evil ends.
Do these alignments work in a wuxia setting?
What kind of character alignments would famous wuxia characters have?