hello @asgallant

Thanks for your sharing...
This is the latest chart I have created...( 
http://jsfiddle.net/armon000/UC5nG/2/ )
As you may see the code, I employed Combo chart,
I will be appreciated it if you advice any comments about it... I just wish 
to be ensure if it can support my necessities as I have already explain!
The is a simple bug I need to correct..
The code works well when data is less than 2000... but when it exceeds, the 
daylight does not follow as expected... For instance put 4000 as indoor 
temperature, daylight
is expanded to higher levels of 2000.
Please check it practically ;)
I have thought about some strategies to debug it... For example, to prevent 
data to be more than 2000, which is not very practical.
Please let me know if you have any idea!! thanks.



On Friday, August 23, 2013 4:52:13 PM UTC+2, asgallant wrote:
>
> Doing this becomes much simpler with steppedArea series, but the problem 
> is that steppedAreas are only available for discrete-axis charts.  You may 
> be able to make that work for you, but generally speaking, time-based 
> charts don't work well when you try to make them into discrete axis 
> charts.  Here's an example: http://jsfiddle.net/asgallant/KJavc/11/
>
> On Friday, August 23, 2013 8:58:31 AM UTC-4, armon000 wrote:
>>
>> @asgallant, for this case we can use ( Stepped Area Chart ) ???? i mean 
>> that we can added this series (   series:{
>> 0: {
>>         // make this a "line" series
>>         type: 'line',
>>         // use the left axis
>>         targetAxisIndex: 0
>>     },  
>>     1: {
>>         // make this a "line" series
>>         type: 'line',
>>         // use the left axis
>>         targetAxisIndex: 0
>>     },
>>     2: {
>>         // make this a "line" series
>>         type: 'line',
>>         // use the right axis
>>         targetAxisIndex: 1
>>     }},
>>  vAxes: {
>>         // assign options for the left axis
>>         0: {
>>             title: 'Temperature(Deg C)'
>>         },
>>         // assign options for the right axis
>>         1: {
>>             title: 'Power(kW)'
>>         }} )
>>
>>  in to the this chart?
>>
>>
>>
>> On Friday, August 23, 2013 9:30:19 AM UTC+2, armon000 wrote:
>>>
>>> Hello @asgallant, thanks alot for your answer, you are right (The lines 
>>> and left/right axes) was easy but for (colored bands) is so hard, i looked 
>>> at your exemple but it's so complicated.
>>> and you know for this part ( Besides, I hope to have a color 
>>> representation to the "daylight" and "presence" in X Axis: between Sunrise 
>>> and sunset I want that the color of the background is changed, as you see 
>>> in the picture between 6:00:00 and 19:00:00 the color of the background is 
>>> yellow. For the “presence” also when someone is at the home we can see it 
>>> that between these times someone was presented in the home as you see in 
>>> the picture we show it with the color green. ) in my dataTable, for 
>>> "daylight" 
>>> and "presence" i have (0) or (1). 
>>> could you helpe me.
>>>
>>> On Tuesday, August 20, 2013 11:29:10 AM UTC+2, armon000 wrote:
>>>>
>>>> Hello every one 
>>>>
>>>> I want to draw one chart for my website that represents 6 events at the 
>>>> same time, but I am not sure to start with which standard chart of the 
>>>> Google charts. I hope to create a display similar to below:
>>>>
>>>>  
>>>>
>>>> I try to describe the scenario for the chart:
>>>>
>>>> The chart demonstrates the power and temperature of indoor and outdoor 
>>>> through the time specifing the presence of the resident at home and the 
>>>> daylight.
>>>>
>>>> As you see, in my chart I have "temperature indoor", "temperature 
>>>> outdoor", "heating", "daylight" and "presence". There are two 'Y' axis to 
>>>> describe two different parameters "Power" and "Temperature". For 
>>>> temperature indoor, outdoor as you see we need left 'Y' Axis (Centigrade 
>>>> Degree) and for heating we need 'Y' Axis in the right (Kw). 
>>>>
>>>> Besides, I hope to have a color representation to the "daylight" and 
>>>> "presence" in X Axis: between Sunrise and sunset I want that the color of 
>>>> the background is changed, as you see in the picture between 6:00:00 and 
>>>> 19:00:00 the color of the background is yellow. For the “presence” also 
>>>> when someone is at the home we can see it that between these times someone 
>>>> was presented in the home as you see in the picture we show it with the 
>>>> color green.
>>>> Please let me know if you have any idea which chart is more suitable 
>>>> for such the presentation.
>>>>
>>>

-- 
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to