javascript - How to change labels on the control button in NVD3? -
here problem: on nvd3 charts, there options "stacked" or "grouped" radio buttons.
what change label of these buttons. i'm french, have "groupé" in place of "grouped" , "empilé" in place of "stacked". don't know if i'm clear?
is possible? took in different js files "legend", tooltips"... wasn't helpful (for javascript , nvd3 newbie am...).
thank's answers!
the strings labels unfortunately hardcoded in source (in respective file in models/
), have change source. generated control elements text have no specific id or class such selecting , changing them dynamically not option.
your best bet change source. search javascript files strings want change.