pub fn transform(&mut self, expr_or_fun: &str) -> &mut Self {
        let s;
        self.axis_function("transform",if expr_or_fun.starts_with("function") {
            expr_or_fun
        } else {
            s = format!("function (v) {{ return {}; }}",expr_or_fun);
            &s
        })
    }
/// conversion function to apply to axis values.
/// Either a Javascript expression in `v` or the full function.
conversion function to apply to axis values.
Either a Javascript expression in `v` or the full function.
conversion function to apply to axis values . Either a Javascript expression in ` v ` or the full function .
pub fn transform(&mut self, expr_or_fun: &str) -> &mut Self {
        let s;
        self.axis_function("transform",if expr_or_fun.starts_with("function") {
            expr_or_fun
        } else {
            s = format!("function (v) {{ return {}; }}",expr_or_fun);
            &s
        })
    }
pub fn transform ( & mut self , expr_or_fun : & str ) -> & mut Self { let s ; self . axis_function ( " " , if expr_or_fun . starts_with ( " " ) { expr_or_fun } else { s = format ! ( " " expr_or_fun ) ; & s } ) }
conversion function to apply to axis values.
conversion function to apply to axis values .
&mut self
expr_or_fun
&str
&mut self
expr_or_fun
&str