Re: urgently:How to use the control MSChart?
From: LeeTow (fbjlt_at_pub3.fz.fj.cn)
Date: 09/13/04
- Next message: Peter Huang: "Re: ? Identifying Current Language Code"
- Previous message: Doug Harrison [MVP]: "Re: _com_ptr_t as static object in a DLL"
- In reply to: Bill Thompson: "Re: urgently:How to use the control MSChart?"
- Next in thread: Bill Thompson: "Re: urgently:How to use the control MSChart?"
- Reply: Bill Thompson: "Re: urgently:How to use the control MSChart?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Sep 2004 08:37:53 +0800
I am sorry,perhaps my English is very poor.
1) I mean its extent is from -5 to 205 at y-axis(I can do it),look:
{
VARIANT var;
m_ctlMSChart.GetPlot().GetAxis(1,var).GetValueScale().SetMaximum(205);
m_ctlMSChart.GetPlot().GetAxis(1,var).GetValueScale().SetMinimum(-5);
}
and now I want to draw a line at 135 of y-axis(I cann't do it),
if I write this sentence,it draw a line at 100 of y-axis,look:
{
m_ctlMSChart.GetPlot().GetAxis(1,var).GetValueScale().SetMajorDivision(2);
}could you tell me how to draw at 135 of y-axis?
2)could you tell me in detail about 'stacking' property?
Thank you very much.
"Bill Thompson" <billt61@rgv.rr.com> дÈëÓʼþ
news:e$hCWFKmEHA.2380@TK2MSFTNGP14.phx.gbl...
> "LeeTow" <fbjlt@pub3.fz.fj.cn> wrote in message
> news:#XcbWDGmEHA.2024@TK2MSFTNGP10.phx.gbl...
> > 1. I write a program using vc and control mschart,but I want to not to
> > divisive equally,for example the y-axis is from -5 to 205 and I want to
> > display the scale at 135,could you tell me how to do?
> > 2. I want to display the chart that it can have different color,if the
> > data is less than 135 it display blue,if the data is larger than 135,
> > it display different color:it display blue from -5 to 135 and it display
> > red from 136 to end,could you tell me how to solve it?
> > if you think this control cann't do it,coulu you tell what I should use
> > control,
> > and you could offer the source code ,Thank you.
> >
> >
>
> I don't know exactly what you mean in 1). If you want to display from -5
to
> 135, or 135 to 205, you could change the data you are using in the graph.
>
> For item 2), perhaps you could use the 'stacking' property cleverly.
>
>
- Next message: Peter Huang: "Re: ? Identifying Current Language Code"
- Previous message: Doug Harrison [MVP]: "Re: _com_ptr_t as static object in a DLL"
- In reply to: Bill Thompson: "Re: urgently:How to use the control MSChart?"
- Next in thread: Bill Thompson: "Re: urgently:How to use the control MSChart?"
- Reply: Bill Thompson: "Re: urgently:How to use the control MSChart?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|