energynerd
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Charts] Adding a legendHi Paul, can you include scalelabel as well? If so would it be possible to show it in the example above please?
Forum: Plugins
In reply to: [Calculated Fields Form] Struggling with formula that requires if statementThanks for that, nearly what I require. The return formula for one of the values is:
return prec(((fieldname3*v/100)+(fieldname2*w/100)),2);
However if both fiedname2 and fieldname 3 are < 125000, I need the formula to sum these two retruned fixed values?
Forum: Plugins
In reply to: [Calculated Fields Form] Struggling with formula that requires if statementSorry to ask again, but what happens if there is another field, fieldname2. Fieldname2 and Fieldname3 are dependent and shown based on the value selected from a radio button so that one or both can be visible.
I tried something similar to the option below but the formula would always return 100/200 respectively plus there is no way for the formula to calculate if both fields are less than 125000.
(function(){
var v;
var w;
if(fieldname3 < 125000) return 100;
if(fieldname3 >= 125000 && fieldname3 < 250000) v = 0.01;
if(fieldname3 >= 250000 && fieldname3 < 500000) v = 0.03;
if(fieldname2 < 125000) return 200;
if(fieldname2 >= 125000 && fieldname3 < 250000) w = 0.04;
if(fieldname2 >= 250000 && fieldname3 < 500000) w = 0.06;return prec(((fieldname2*w/100)+(fieldname3*v/100)),2);
})()Is there a way to incorporate the formula to include an if radiobox value or similar?
The final part of my question is that if a user selects the radio button so both fields are visible, enters values into each field and then changes the radiobox value so that now only 1 field is visible, the formula still calculates the value previously entered into the now hidden field. I was hoping the if radiobox value field could handle this as well?
Forum: Plugins
In reply to: [Calculated Fields Form] Struggling with formula that requires if statementThank you!
Forum: Plugins
In reply to: [Calculated Fields Form] Struggling with formula that requires if statementIs it possible to return a fixed value and a variable value from this formula:
(function(){
var v;
if(fieldname3 < 125000) v = 0;
if(fieldname3 >= 125000 && fieldname3 < 250000) v = 0.01;
if(fieldname3 >= 250000 && fieldname3 < 500000) v = 0.03;return fieldname3*v+fieldname1+fieldname6+fieldname8+fieldname12;
})()So if fieldname3 was < 125000 it could return a fixed fee i.e. return v rather than fieldname3*v?
Forum: Plugins
In reply to: [RJ Quickcharts] Remove or hide data labels / categories on x axisThanks for coming back to me. I went to the shortcode/init.php and changed true to false in this section of the code:
axes: {
xaxis: $xAxis,
yaxis:{
renderer: jQuery.jqplot.LogAxisRenderer,
tickRenderer: jQuery.jqplot.CanvasAxisTickRenderer,
labelRenderer: jQuery.jqplot.CanvasAxisLabelRenderer,
label: ‘$yAxisText’,
labelOptions: {
show: false,
fontSize: ’14px’
},
tickOptions: {
mark: false,
labelPosition: ‘middle’,
angle: -90
}`But the x-axis is still visible? Any other ideas? Ideally I would still like the x axis to be visible but just show a smaller number of labels.
Forum: Plugins
In reply to: [Okay Toolkit] Twitter feed does not translate text / utf 8 charactersHi Mike,
Any ideas of where I am going wrong not being able to display my tweets through the plugin? I have authenticated.
Forum: Plugins
In reply to: [Okay Toolkit] Twitter feed does not translate text / utf 8 charactersNot sure if you looked previously but my twitter feed is not working now. I am authenticated, do you have any ideas at all please?
Forum: Plugins
In reply to: [Okay Toolkit] Twitter feed does not translate text / utf 8 charactersThanks – Here is the link to my homepage. If it is working your end I assume it must be something on my own wordpress settings?
Forum: Plugins
In reply to: [Okay Toolkit] Where are the images stored?Thanks for your help!
Forum: Plugins
In reply to: [WordPress Charts] Doughnut charts in OperaHi Paul,
Do you have a timescale for the latest release? It would be great to have the ability to add labels to doughnuts.
Forum: Plugins
In reply to: [Okay Toolkit] Where are the images stored?Hi Mike,
Thanks for coming back to me – the social media icons that are displayed when you add your twitter or fb account