Como cambiar el color de un barchar

Discuss about features you want to see in the next versions of ApPHP DataGrid. Your requests and offers.

Moderators: ne_moj, zewa

danielfmd
Newbie
Newbie
Posts: 1
Joined: Jan 21st, '12, 23:18

Como cambiar el color de un barchar

Postby danielfmd » Jan 22nd, '12, 01:43

Buenas tardes. Necesito cambiar el color de un barchar de acuerdo al valor del campo.

administrator
Site Admin
Site Admin
Posts: 5939
Joined: Jan 7th, '09, 23:18
Contact:

Re: Como cambiar el color de un barchar

Postby administrator » Jan 22nd, '12, 09:58

1. Please use English next time. You may use Google translator.
2. Here the field template, that allows you to define color according to field's value.

"FieldName_13"=>array("header"=>"Name_M", "type"=>"barchart", "align"=>"left", "width"=>"X%|Xpx", "wrap"=>"wrap|nowrap", "text_length"=>"-1", "case"=>"normal|upper|lower|camel", "summarize"=>"false", "summarize_sign"=>"", "sort_type"=>"string|numeric", "sort_by"=>"", "visible"=>"true", "on_js_event"=>"", "field"=>"", "value_sign"=>"", "minimum_color"=>"", "minimum_value"=>"", "middle_color"=>"", "middle_value"=>"", "maximum_color"=>"", "maximum_value"=>"100", "display_type"=>"vertical|horizontal"),


Return to “ApPHP DataGrid {future features}”