I can't tell enough from your php code what is going on. So if you need to give me access to your web page, that sounds like the simplest way to proceed.
On Tue, Mar 15, 2016 at 12:15 PM, Nadja <[email protected]> wrote: > In firebug I cannot find an error. > But could be the other code the problem? > On my site you can select the channels and in the javascript I'm "asking" > whitch channels to display. > Here is the code for all channels: > if(<?php if(isset($axe)) echo $axe; else echo "0"; ?>==1){ > var options = { > chart: { > title: 'Data' > }, > > height:600, > chartArea:{left:30,top:30,width:'100%',height:600}, > series: { > // Gives each series an axis name that matches the Y-axis below. > > 0: {axis: 'ppm'}, > 1:{axis: 'ppm'}, > 2:{axis: 'ppm'}, > 3:{axis: 'C'}, > > }, > axes: { > // Adds labels to each axis; they don't have to match the axis > names. > y: { > ppm: {label: '<?php echo $unitaktuell ?>'}, > C: {label: '°C'} > > } > } > > };} > > > var chart = new google.charts.Line(document.getElementById( > 'linechart_material')); > > chart.draw(data, options); > > If this is not the problem I ask for an account for you. > Thank you for your help > Nadja > > Am Montag, 7. März 2016 18:47:05 UTC+1 schrieb Nadja: >> >> Hello, >> >> I have a line chart with data from a database. >> In the database I have a column called "error", where numbers or >> characters reflect the error code (e.g. 0=no error, A=Error in size, >> B=Error in....). >> If the error is not equal to "0" the data-set for this entry shall not be >> displayed in the graph; there should be a marker for this data-set >> (*/asterix/color-coded/...) to reflect that this data-set has an error. >> In principle I need the good old "if/then" function; IF the error-column >> is <>0, THEN display * or whatever... >> Can somebody help me, how to fix this with google line charts? >> Thank you >> Nadja >> > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > https://groups.google.com/group/google-visualization-api. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-visualization-api/973a07e9-9893-4696-8a7c-bd1ca8d7459e%40googlegroups.com > <https://groups.google.com/d/msgid/google-visualization-api/973a07e9-9893-4696-8a7c-bd1ca8d7459e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> [email protected] <[email protected]> 5CC, Cambridge MA -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJPWFxsNxTiKYPPrVOLB1X0qR4A3_0rNiyrMPy5GpEwr5w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
